pub trait SolveLstsq<T: ComplexField>: SolveLstsqCore<T> {
// Provided methods
fn solve_lstsq_in_place(&self, rhs: impl AsMatMut<T = T, Rows = usize>) { ... }
fn solve_conjugate_lstsq_in_place(
&self,
rhs: impl AsMatMut<T = T, Rows = usize>,
) { ... }
fn solve_lstsq<Rhs: AsMatRef<T = T, Rows = usize>>(
&self,
rhs: Rhs,
) -> Rhs::Owned { ... }
fn solve_conjugate_lstsq<Rhs: AsMatRef<T = T, Rows = usize>>(
&self,
rhs: Rhs,
) -> Rhs::Owned { ... }
}Expand description
SolveLstsqCore extension trait
Provided Methods§
Sourcefn solve_lstsq_in_place(&self, rhs: impl AsMatMut<T = T, Rows = usize>)
fn solve_lstsq_in_place(&self, rhs: impl AsMatMut<T = T, Rows = usize>)
solves $A x = b$ in the sense of least squares.
Sourcefn solve_conjugate_lstsq_in_place(
&self,
rhs: impl AsMatMut<T = T, Rows = usize>,
)
fn solve_conjugate_lstsq_in_place( &self, rhs: impl AsMatMut<T = T, Rows = usize>, )
solves $\bar A x = b$ in the sense of least squares.
Sourcefn solve_lstsq<Rhs: AsMatRef<T = T, Rows = usize>>(
&self,
rhs: Rhs,
) -> Rhs::Owned
fn solve_lstsq<Rhs: AsMatRef<T = T, Rows = usize>>( &self, rhs: Rhs, ) -> Rhs::Owned
solves $A x = b$ in the sense of least squares.
Sourcefn solve_conjugate_lstsq<Rhs: AsMatRef<T = T, Rows = usize>>(
&self,
rhs: Rhs,
) -> Rhs::Owned
fn solve_conjugate_lstsq<Rhs: AsMatRef<T = T, Rows = usize>>( &self, rhs: Rhs, ) -> Rhs::Owned
solves $\bar A x = b$ in the sense of least squares.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.