lanhp#
Functions
-
f32 clanhp(const char *norm, const char *uplo, const INT n, const c64 *restrict AP, f32 *restrict work)#
CLANHP returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a complex hermitian matrix A, supplied in packed form.
CLANHP = ( max(abs(A(i,j))), NORM = ‘M’ or ‘m’ ( ( norm1(A), NORM = ‘1’, ‘O’ or ‘o’ ( ( normI(A), NORM = ‘I’ or ‘i’ ( ( normF(A), NORM = ‘F’, ‘f’, ‘E’ or ‘e’
where norm1 denotes the one norm of a matrix (maximum column sum), normI denotes the infinity norm of a matrix (maximum row sum) and normF denotes the Frobenius norm of a matrix (square root of sum of squares). Note that max(abs(A(i,j))) is not a consistent matrix norm.
Parameters
innormSpecifies the value to be returned: = ‘M’ or ‘m’: max(abs(A(i,j))) = ‘1’, ‘O’ or ‘o’: norm1(A) = ‘I’ or ‘i’: normI(A) = ‘F’, ‘f’, ‘E’ or ‘e’: normF(A)
inuplo= ‘U’: Upper triangular part of A is supplied = ‘L’: Lower triangular part of A is supplied
innThe order of the matrix A. n >= 0.
inAPThe upper or lower triangle of the hermitian matrix A, packed columnwise in a linear array. Array of dimension (n*(n+1)/2). Note that the imaginary parts of the diagonal elements need not be set and are assumed to be zero.
outworkWorkspace array of dimension (max(1,lwork)), where lwork >= n when norm = ‘I’ or ‘1’ or ‘O’; otherwise, work is not referenced.
f32 clanhp(
const char* norm,
const char* uplo,
const INT n,
const c64* restrict AP,
f32* restrict work
);
Functions
-
f64 zlanhp(const char *norm, const char *uplo, const INT n, const c128 *restrict AP, f64 *restrict work)#
ZLANHP returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a complex hermitian matrix A, supplied in packed form.
ZLANHP = ( max(abs(A(i,j))), NORM = ‘M’ or ‘m’ ( ( norm1(A), NORM = ‘1’, ‘O’ or ‘o’ ( ( normI(A), NORM = ‘I’ or ‘i’ ( ( normF(A), NORM = ‘F’, ‘f’, ‘E’ or ‘e’
where norm1 denotes the one norm of a matrix (maximum column sum), normI denotes the infinity norm of a matrix (maximum row sum) and normF denotes the Frobenius norm of a matrix (square root of sum of squares). Note that max(abs(A(i,j))) is not a consistent matrix norm.
Parameters
innormSpecifies the value to be returned: = ‘M’ or ‘m’: max(abs(A(i,j))) = ‘1’, ‘O’ or ‘o’: norm1(A) = ‘I’ or ‘i’: normI(A) = ‘F’, ‘f’, ‘E’ or ‘e’: normF(A)
inuplo= ‘U’: Upper triangular part of A is supplied = ‘L’: Lower triangular part of A is supplied
innThe order of the matrix A. n >= 0.
inAPThe upper or lower triangle of the hermitian matrix A, packed columnwise in a linear array. Array of dimension (n*(n+1)/2). Note that the imaginary parts of the diagonal elements need not be set and are assumed to be zero.
outworkWorkspace array of dimension (max(1,lwork)), where lwork >= n when norm = ‘I’ or ‘1’ or ‘O’; otherwise, work is not referenced.
f64 zlanhp(
const char* norm,
const char* uplo,
const INT n,
const c128* restrict AP,
f64* restrict work
);