Skip to main content

RowHessian

Trait RowHessian 

Source
pub trait RowHessian: Send + Sync {
    // Required methods
    fn k(&self) -> usize;
    fn nrows(&self) -> usize;
    fn fill_row(&self, row: usize, out: &mut [f64]);
    fn evaluate_full(&self) -> ArrayBase<OwnedRepr<f64>, Dim<[usize; 3]>>;
}
Expand description

Per-row K × K PSD Hessian of −log L_i(u_i) evaluated at a pilot β.

Required Methods§

Source

fn k(&self) -> usize

Source

fn nrows(&self) -> usize

Source

fn fill_row(&self, row: usize, out: &mut [f64])

Fill the K × K block at row into out (row-major).

Source

fn evaluate_full(&self) -> ArrayBase<OwnedRepr<f64>, Dim<[usize; 3]>>

Materialise full (n_rows × K × K) tensor.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§