pub trait Hessianwhere
Self: Tensor,{
// Required method
fn fill_into(self, square_matrix: &mut SquareMatrix);
// Provided method
fn retain_from(self, _retained: &[bool]) -> SquareMatrix { ... }
}
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.
Provided Methods§
Sourcefn retain_from(self, _retained: &[bool]) -> SquareMatrix
fn retain_from(self, _retained: &[bool]) -> SquareMatrix
Return only the retained indices.
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.