Trait linfa_linalg::qr::LeastSquaresQrInto

source ·
pub trait LeastSquaresQrInto<B> {
    type Output;

    // Required method
    fn least_squares_into(self, b: B) -> Result<Self::Output>;
}
Expand description

Use QR decomposition to calculate least squares by value

Required Associated Types§

Required Methods§

source

fn least_squares_into(self, b: B) -> Result<Self::Output>

Find solution to A * x = b such that ||A * x - b||^2 is minimized

Implementations on Foreign Types§

source§

impl<A: NdFloat, Si: DataMut<Elem = A>, So: DataMut<Elem = A>> LeastSquaresQrInto<ArrayBase<So, Dim<[usize; 2]>>> for ArrayBase<Si, Ix2>

Implementors§