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) -> DoubleParameters
- A:
The sparse matrix, A.
- norm:
Specify the norm to be computed. Must be one of Sparse_norm_one, Sparse_norm_two, or Sparse_norm_inf. See discussion for further details.
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
sparse_matrix_vector_product_dense_double(_:_:_:_:_:_:_:)sparse_matrix_vector_product_dense_float(_:_:_:_:_:_:_:)sparse_vector_triangular_solve_dense_double(_:_:_:_:_:)sparse_vector_triangular_solve_dense_float(_:_:_:_:_:)sparse_outer_product_dense_double(_:_:_:_:_:_:_:_:_:)sparse_outer_product_dense_float(_:_:_:_:_:_:_:_:_:)sparse_permute_rows_double(_:_:)sparse_permute_rows_float(_:_:)sparse_permute_cols_double(_:_:)sparse_permute_cols_float(_:_:)sparse_elementwise_norm_double(_:_:)sparse_elementwise_norm_float(_:_:)sparse_operator_norm_float(_:_:)sparse_matrix_trace_double(_:_:)sparse_matrix_trace_float(_:_:)