naginterfaces.library.blas.zlanhf¶
- naginterfaces.library.blas.zlanhf(norm, transr, uplo, n, a)[source]¶
zlanhf
returns the value of the -norm, the -norm, the Frobenius norm, or the maximum absolute value of the elements of a complex Hermitian matrix stored in Rectangular Full Packed (RFP) format.For full information please refer to the NAG Library document for f06wn
https://support.nag.com/numeric/nl/nagdoc_30.1/flhtml/f06/f06wnf.html
- Parameters
- normstr, length 1
Specifies the value to be returned.
or
The -norm.
The -norm.
or
The Frobenius (or Euclidean) norm.
The value (not a norm).
- transrstr, length 1
Specifies whether the normal RFP representation of or its conjugate transpose is stored.
The matrix is stored in normal RFP format.
The conjugate transpose of the RFP representation of the matrix is stored.
- uplostr, length 1
Specifies whether the upper or lower triangular part of is stored.
The upper triangular part of is stored.
The lower triangular part of is stored.
- nint
, the order of the matrix .
When ,
zlanhf
returns zero.- acomplex, array-like, shape
The upper or lower triangular part (as specified by ) of the Hermitian matrix , in either normal or transposed RFP format (as specified by ). The storage format is described in detail in the F07 Introduction.
- Returns
- nrmfloat
The -norm, the Frobenius norm, or the maximum absolute value of the elements of the complex Hermitian matrix stored in Rectangular Full Packed (RFP) format.
- Raises
- NagValueError
- (errno )
On entry, error in parameter .
Constraint: , , , , or .
- (errno )
On entry, error in parameter .
Constraint: or .
- (errno )
On entry, error in parameter .
Constraint: or .
- (errno )
On entry, error in parameter .
Constraint: .
- Notes
No equivalent traditional C interface for this routine exists in the NAG Library.
Given a complex symmetric matrix, ,
zlanhf
calculates one of the values given by(the -norm of ),
(the -norm of ),
(the Frobenius norm of ), or
(the maximum absolute element value of ).
is stored in compact form using the RFP format. The RFP storage format is described in the F07 Introduction.
- References
Basic Linear Algebra Subprograms Technical (BLAST) Forum, 2001, Basic Linear Algebra Subprograms Technical (BLAST) Forum Standard, University of Tennessee, Knoxville, Tennessee, https://www.netlib.org/blas/blast-forum/blas-report.pdf
Gustavson, F G, Waśniewski, J, Dongarra, J J and Langou, J, 2010, Rectangular full packed format for Cholesky’s algorithm: factorization, solution, and inversion, ACM Trans. Math. Software (37, 2)