HP MLIB User's Guide Vol. 2 7th Ed.
680 HP MLIB LAPACK User’s Guide
SLANSY/DLANSY/CLANHE/CLANSY/ZLANHE//ZLANSY Compute norm of symmetric or Hermitian matrix
Name SLANSY/DLANSY/CLANHE/CLANSY/ZLANHE//ZLANSY
Compute norm of symmetric or Hermitian matrix
Purpose These subprograms compute a norm of a real or complex symmetric or complex
Hermitian matrix A.
A matrix is symmetric if A = A
T
, its transpose; a matrix is Hermitian if
A = A*, its conjugate transpose.
The structure of A is indicated by the name of the subprogram used:
Matrix
Storage
Because either triangle of A may be obtained from the other, you need only
provide one triangle of A. You can supply either the upper or the lower triangle
of A, in a two-dimensional array large enough to hold the entire matrix. The
other triangle of the array is not referenced.
Usage LAPACK:
CHARACTER*1 norm, uplo
INTEGER*4 lda, n
REAL*4 a(lda, n), work(n)
REAL*4 anorm, SLANSY
anorm = SLANSY(norm, uplo, n, a, lda, work)
CHARACTER*1 norm, uplo
INTEGER*4 lda, n
REAL*8 a(lda, n), work(n)
REAL*8 anorm, DLANSY
anorm = DLANSY(norm, uplo, n, a, lda, work)
CHARACTER*1 norm, uplo
INTEGER*4 lda, n
REAL*4 rwork(n)
COMPLEX*8 a(lda, n)
REAL*4 anorm, CLANHE
anorm = CLANHE(norm, uplo, n, a, lda, rwork)
SLANSY or DLANSY A is a real symmetric matrix.
CLANSY or ZLANSY A is a complex symmetric matrix.
CLANHE or ZLANHE A is a complex Hermitian matrix.