naginterfaces.library.blas.zlanhp¶
- naginterfaces.library.blas.zlanhp(norm, uplo, n, ap)[source]¶
zlanhp
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 packed form.For full information please refer to the NAG Library document for f06ud
https://support.nag.com/numeric/nl/nagdoc_30.2/flhtml/f06/f06udf.html
- Parameters
- normstr, length 1
Specifies the value to be returned.
or
The -norm.
The -norm (= the -norm for a Hermitian matrix).
or
The Frobenius (or Euclidean) norm.
The value (not a norm).
- 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 ,
zlanhp
returns zero.- apcomplex, array-like, shape
The Hermitian matrix , packed by columns.
- Returns
- nrmfloat
The value of the -norm, the -norm, the Frobenius norm, or the maximum absolute value of the elements of the complex Hermitian matrix, stored in packed form.
- 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: .
- Notes
No equivalent traditional C interface for this routine exists in the NAG Library.