Skip to main content

cond

Function cond 

Source
pub fn cond<T: Scalar, S: Data<Elem = T>>(
    a: &ArrayBase<S, Ix2>,
    ord: Norm,
) -> Result<f64>
Expand description

The condition number ‖A‖ ‖A⁻¹‖ in the given norm (NumPy’s cond); for the 2-norm, σ_max / σ_min, which is also defined for rectangular matrices. Infinite for singular matrices.