dlansf (l) - Linux Manuals
dlansf: returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a real symmetric matrix A in RFP format
NAME
DLANSF - returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a real symmetric matrix A in RFP formatSYNOPSIS
- DOUBLE PRECISION
- FUNCTION DLANSF( NORM, TRANSR, UPLO, N, A, WORK )
- CHARACTER NORM, TRANSR, UPLO
- INTEGER N
- DOUBLE PRECISION A( 0: * ), WORK( 0: * )
PURPOSE
DLANSF returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a real symmetric matrix A in RFP format.DESCRIPTION
DLANSF returns the valueDLANSF
ARGUMENTS
- NORM (input) CHARACTER
- Specifies the value to be returned in DLANSF as described above.
- TRANSR (input) CHARACTER
-
Specifies whether the RFP format of A is normal or
transposed format.
= aqNaq: RFP format is Normal;
= aqTaq: RFP format is Transpose. - UPLO (input) CHARACTER
-
On entry, UPLO specifies whether the RFP matrix A came from
an upper or lower triangular matrix as follows:
= aqUaq: RFP A came from an upper triangular matrix;
= aqLaq: RFP A came from a lower triangular matrix. - N (input) INTEGER
- The order of the matrix A. N >= 0. When N = 0, DLANSF is set to zero.
- A (input) DOUBLE PRECISION array, dimension ( N*(N+1)/2 );
- On entry, the upper (if UPLO = aqUaq) or lower (if UPLO = aqLaq) part of the symmetric matrix A stored in RFP format. See the "Notes" below for more details. Unchanged on exit.
- WORK (workspace) DOUBLE PRECISION array, dimension (MAX(1,LWORK)),
- where LWORK >= N when NORM = aqIaq or aq1aq or aqOaq; otherwise, WORK is not referenced.
FURTHER DETAILS
We first consider Rectangular Full Packed (RFP) Format when N is even. We give an example where N = 6.Let TRANSR = aqNaq. RFP holds AP as follows:
For UPLO = aqUaq the upper trapezoid A(0:5,0:2) consists of the last three columns of AP upper. The lower triangle A(4:6,0:2) consists of the transpose of the first three columns of AP upper.
For UPLO = aqLaq the lower trapezoid A(1:6,0:2) consists of the first three columns of AP lower. The upper triangle A(0:2,0:2) consists of the transpose of the last three columns of AP lower.
This covers the case N even and TRANSR = aqNaq.
03 04 05
13 14 15
23 24 25
33 34 35
00 44 45