[−][src]Function gramschmidt::mgs
pub fn mgs<S>(a: &ArrayBase<S, Ix2>) -> Result<(Array2<f64>, Array2<f64>)> where
S: Data<Elem = f64>,
Convenience function that calculates a Modified Gram Schmidt QR factorization, returning a
tuple (Q,R)
.
If you want to repeatedly calculate QR factorizations, then prefer constructing a
Modified
struct and calling its GramSchmidt::compute
method implemented through
the GramSchmidt
trait.