SolveLstsqCore

Trait SolveLstsqCore 

Source
pub trait SolveLstsqCore<T: ComplexField>: ShapeCore {
    // Required method
    fn solve_lstsq_in_place_with_conj(&self, conj: Conj, rhs: MatMut<'_, T>);
}
Expand description

least squares linear system solver implementation

Required Methods§

Source

fn solve_lstsq_in_place_with_conj(&self, conj: Conj, rhs: MatMut<'_, T>)

solves the equation self × x = rhs in the sense of least squares, implicitly conjugating self if needed, and stores the result in the top rows of rhs

Implementations on Foreign Types§

Source§

impl<T: ComplexField, S: ?Sized + SolveLstsqCore<T>> SolveLstsqCore<T> for &S

Source§

fn solve_lstsq_in_place_with_conj(&self, conj: Conj, rhs: MatMut<'_, T>)

Implementors§

Source§

impl<I: Index, T: ComplexField> SolveLstsqCore<T> for faer::sparse::linalg::solvers::Qr<I, T>

Source§

impl<T: ComplexField> SolveLstsqCore<T> for ColPivQr<T>

Source§

impl<T: ComplexField> SolveLstsqCore<T> for faer::linalg::solvers::Qr<T>

Source§

impl<T: ComplexField> SolveLstsqCore<T> for Svd<T>