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§
sourcefn least_squares_into(self, b: B) -> Result<Self::Output>
fn least_squares_into(self, b: B) -> Result<Self::Output>
Find solution to A * x = b
such that ||A * x - b||^2
is minimized