Skip to main content

pinv

Function pinv 

Source
pub fn pinv<T: Scalar, S: Data<Elem = T>>(
    a: &ArrayBase<S, Ix2>,
    rtol: Option<f64>,
) -> Result<Array2<T>>
Expand description

The Moore-Penrose pseudoinverse A⁺ = V Σ⁺ Uᴴ (SciPy’s pinv): singular values at most rtol · σ_max are treated as zero, with rtol = max(m, n) ε by default.