Skip to main content

simd_sparse_norm

Function simd_sparse_norm 

Source
pub fn simd_sparse_norm<T, S>(
    matrix: &S,
    norm_type: &str,
    options: Option<SimdOptions>,
) -> SparseResult<T>
where T: Float + SparseElement + Debug + Copy + 'static + SimdUnifiedOps + Send + Sync, S: SparseArray<T>,
Expand description

Advanced SIMD-accelerated norm computation

Computes various matrix norms using SIMD acceleration

§Arguments

  • matrix - The sparse matrix
  • norm_type - Type of norm to compute (“fro”, “1”, “inf”)
  • options - SIMD acceleration options

§Returns

The computed norm value