pub trait NormalEquations {
// Required methods
fn residual(&mut self, x: &[f64]) -> Vec<f64>;
fn normal(
&mut self,
x: &[f64],
f: &[f64],
) -> Result<(Mat<f64>, Vec<f64>), DspError>;
}Expand description
Supplies the residual and the normal equations of a least-squares problem.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".