pub fn qr<T: Scalar, S: Data<Elem = T>>(
a: &ArrayBase<S, Ix2>,
mode: QrMode,
pivoting: bool,
) -> Result<QrFactors<T>>Expand description
The QR factorisation A P = Q R (SciPy’s qr, with pivoting its pivoting=True): Q has
orthonormal columns, R is upper triangular (trapezoidal), and with pivoting the columns are
chosen in order of largest remaining norm, so that |R₁₁| ≥ |R₂₂| ≥ …, which reveals the rank.