Skip to main content

HessianFunction

Trait HessianFunction 

Source
pub trait HessianFunction {
    // Required method
    fn evaluate(&self, parameters: &[f64]) -> Vec<Vec<f64>>;
}
Expand description

HessianFunction: the Hessian ∂²f/∂xᵢ∂xⱼ of the objective at the given parameters, as rows of a symmetric matrix. Used by NewtonRaphsonMethod.

Required Methods§

Source

fn evaluate(&self, parameters: &[f64]) -> Vec<Vec<f64>>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§