pub fn rq<T: Scalar, S: Data<Elem = T>>(
a: &ArrayBase<S, Ix2>,
mode: QrMode,
) -> Result<(Array2<T>, Array2<T>)>Expand description
The RQ factorisation A = R Q (SciPy’s rq, LAPACK’s gerq2): R upper triangular
(trapezoidal, aligned to the right), Q with orthonormal rows. Each step reflects a row,
from the last upwards, onto its own last allowed column. Returns (R, Q).