Contents

sparse_operator_norm_double(_:_:)

Computes the specified operator norm of the double-precision sparse matrix A.

Declaration

func sparse_operator_norm_double(_ A: sparse_matrix_double!, _ norm: sparse_norm) -> Double

Parameters

Return Value

The requested norm.

Discussion

This is the norm of the matrix treated as an linear operator, not the element-wise norm. Specify one of:

| SPARSE_NORM_ONE | max over j ( sum over i ( | A[i,j] | ) ) | |—|—| | SPARSE_NORM_TWO | Maximum singular value. This is significantly more expensive to compute than the other norms. | | SPARSE_NORM_INF | max over i ( sum over j ( | A[i,j] | ) ) | | SPARSE_NORM_R1 | Not supported, undefined. |

If norm is not one of the enumerated norm types, the default value is SPARSE_NORM_INF.

See Also

Matrix-Vector Operations