conspire::math

Trait Hessian

Source
pub trait Hessian {
    // Required method
    fn is_positive_definite(&self) -> bool;
}
Expand description

Common methods for Hessians.

Required Methods§

Source

fn is_positive_definite(&self) -> bool

Checks whether the Hessian is positive-definite.

Implementors§

Source§

impl Hessian for SquareMatrix

Source§

impl Hessian for TensorRank0

Source§

impl<const D: usize, const I: usize, const J: usize> Hessian for TensorRank2<D, I, J>

Source§

impl<const D: usize, const I: usize, const J: usize, const K: usize, const L: usize> Hessian for TensorRank4<D, I, J, K, L>