pub trait QRDecomposable<T: Number + RealNumber>: Array2<T> {
// Provided methods
fn qr(&self) -> Result<QR<T, Self>, Failed> { ... }
fn qr_mut(self) -> Result<QR<T, Self>, Failed> { ... }
fn qr_solve_mut(self, b: Self) -> Result<Self, Failed> { ... }
}
Expand description
Trait that implements QR decomposition routine for any matrix.
Provided Methods§
sourcefn qr_mut(self) -> Result<QR<T, Self>, Failed>
fn qr_mut(self) -> Result<QR<T, Self>, Failed>
Compute the QR decomposition of a matrix. The input matrix will be used for factorization.
sourcefn qr_solve_mut(self, b: Self) -> Result<Self, Failed>
fn qr_solve_mut(self, b: Self) -> Result<Self, Failed>
Solves Ax = b