[−][src]Function gramschmidt::mgs
pub fn mgs<S>(
a: &ArrayBase<S, Ix2>
) -> Result<(Array<f64, Ix2>, Array<f64, Ix2>)> 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.