Trait lax::least_squares::LeastSquaresWorkImpl
source · [−]pub trait LeastSquaresWorkImpl: Sized {
type Elem: Scalar;
fn new(a_layout: MatrixLayout, b_layout: MatrixLayout) -> Result<Self>;
fn calc(
&mut self,
a: &mut [Self::Elem],
b: &mut [Self::Elem]
) -> Result<LeastSquaresRef<'_, Self::Elem>>;
fn eval(
self,
a: &mut [Self::Elem],
b: &mut [Self::Elem]
) -> Result<LeastSquaresOwned<Self::Elem>>;
}