pub trait Hessianwhere
Self: Tensor,{
// Required methods
fn fill_into(self, square_matrix: &mut SquareMatrix);
fn is_positive_definite(&self) -> bool;
}
Expand description
Common methods for Hessians.
Required Methods§
Sourcefn fill_into(self, square_matrix: &mut SquareMatrix)
fn fill_into(self, square_matrix: &mut SquareMatrix)
Fills the Hessian into a square matrix.
Sourcefn is_positive_definite(&self) -> bool
fn is_positive_definite(&self) -> bool
Checks whether the Hessian is positive-definite.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.