MatrixNormSy
Returns the value of the 1-norm, infinity-norm, Frobenius norm, or the largest absolute value of any element of a real symmetric or complex Hermitian matrix. LAPACK functions LANSY, LANHE.
Computing for type matrix<double>
bool matrix::MatrixNormSy( |
Computing for type matrix<float>
bool matrixf::MatrixNormSy( |
Computing for type matrix<complex>
bool matrixc::MatrixNormSy( |
Computing for type matrix<complexf>
bool matrixcf::MatrixNormSy( |
Parameters
norm
[in] Value from the ENUM_BLAS_NORMX enumeration, which specifies the value to be returned by the routine.
norm_value
[out] Calculated matrix norm value.
Return Value
Return true if successful, otherwise false in case of an error.
Note
The input can be a symmetric (Hermitian), upper triangular or lower triangular matrix. Triangular matrices are assumed to be symmetric (Hermitian conjugated).
ENUM_BLAS_NORMX
An enumeration defining which norm calculated.
ID | Description |
|---|---|
BLASNORMX_O | 'O': One-norm |
BLASNORMX_I | 'I': Infinity-norm |
BLASNORMX_F | 'F': Frobenius-norm |
BLASNORMX_M | 'M': max(abs(A(i,j))) |