pub trait HessianBlock {
// Required methods
fn entry(&self, row: usize, column: usize) -> TensorRank0;
fn height(&self) -> usize;
fn width(&self) -> usize;
fn fill_into_block<M>(&self, matrix: &mut M, row: usize, column: usize)
where M: IndexMut<usize, Output = Vector>;
}Expand description
Common methods for blocks of a Hessian.
Required Methods§
Sourcefn entry(&self, row: usize, column: usize) -> TensorRank0
fn entry(&self, row: usize, column: usize) -> TensorRank0
The entry of the block at the given row and column within it.
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.