MatrixNormTriangular
Returns the value of the 1-norm, infinity-norm, Frobenius norm, or the largest absolute value of any element of a trapezoidal m-by-n or triangular matrix. LAPACK function LANTR.
Computing for type matrix<double>
bool matrix::MatrixNormTriangular(
ENUM_BLAS_NORMX norm,
double& norm_value
);
|
Computing for type matrix<float>
bool matrixf::MatrixNormTriangular(
ENUM_BLAS_NORMX norm,
float& norm_value
);
|
Computing for type matrix<complex>
bool matrixc::MatrixNormTriangular(
ENUM_BLAS_NORMX norm,
double& norm_value
);
|
Computing for type matrix<complexf>
bool matrixcf::MatrixNormTriangular(
ENUM_BLAS_NORMX norm,
float& norm_value
);
|
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
Note
ENUM_BLAS_NORMX
An enumeration defining which norm calculated.
|
|
|
BLASNORMX_O
|
'O': One-norm
|
BLASNORMX_I
|
'I': Infinity-norm
|
BLASNORMX_F
|
'F': Frobenius-norm
|
BLASNORMX_M
|
'M': max(abs(A(i,j)))
|