Docs/Sparse Direct Solver (SuperLU)/slu.analysis.computeMatrixNorm
Back to Sparse Direct Solver (SuperLU)

slu.analysis.computeMatrixNorm

Compute the norm of a sparse matrix.

Syntax

slu.analysis.computeMatrixNorm(A, normType?)

Description

Compute the norm of a sparse matrix. Supported norms: - **one**: 1-norm (maximum column sum of absolute values) - **infinity**: ∞-norm (maximum row sum of absolute values) - **frobenius**: Frobenius norm (sqrt of sum of squared elements) - **max**: Max norm (maximum absolute element)

Parameters

NameDescription
A- Sparse matrix in CSC format
normType(optional)- Type of norm to compute

Returns

MatrixNormResult