Skip to main content

matrix_norm

Function matrix_norm 

Source
pub fn matrix_norm(
    matrix: &ArrayView2<'_, f64>,
    _ord: Option<&str>,
) -> Result<f64, String>
Expand description

Fallback matrix norm calculation: the Frobenius norm, computed from the actual matrix entries (not a fixed constant). Only the Frobenius norm is supported here – spectral/nuclear norms would require SVD, which this no-scirs2 fallback does not implement.