trttp#
Functions
-
void strttp(const char *uplo, const INT n, const f32 *restrict A, const INT lda, f32 *restrict AP, INT *info)#
STRTTP copies a triangular matrix A from full format (TR) to standard packed format (TP).
Parameters
inuplo= ‘U’: A is upper triangular. = ‘L’: A is lower triangular.
innThe order of the matrices AP and A. n >= 0.
inADouble precision array, dimension (lda,n) On exit, the triangular matrix A. If UPLO = ‘U’, the leading n-by-n upper triangular part of A contains the upper triangular part of the matrix A, and the strictly lower triangular part of A is not referenced. If UPLO = ‘L’, the leading n-by-n lower triangular part of A contains the lower triangular part of the matrix A, and the strictly upper triangular part of A is not referenced.
inldaThe leading dimension of the array A. lda >= max(1,n).
outAPDouble precision array, dimension (n*(n+1)/2) On exit, the upper or lower triangular matrix A, packed columnwise in a linear array. The j-th column of A is stored in the array AP as follows: if UPLO = ‘U’, AP(i + (j-1)*j/2) = A(i,j) for 1<=i<=j; if UPLO = ‘L’, AP(i + (j-1)*(2n-j)/2) = A(i,j) for j<=i<=n.
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void strttp(
const char* uplo,
const INT n,
const f32* restrict A,
const INT lda,
f32* restrict AP,
INT* info
);
Functions
-
void dtrttp(const char *uplo, const INT n, const f64 *restrict A, const INT lda, f64 *restrict AP, INT *info)#
DTRTTP copies a triangular matrix A from full format (TR) to standard packed format (TP).
Parameters
inuplo= ‘U’: A is upper triangular. = ‘L’: A is lower triangular.
innThe order of the matrices AP and A. n >= 0.
inADouble precision array, dimension (lda,n) On exit, the triangular matrix A. If UPLO = ‘U’, the leading n-by-n upper triangular part of A contains the upper triangular part of the matrix A, and the strictly lower triangular part of A is not referenced. If UPLO = ‘L’, the leading n-by-n lower triangular part of A contains the lower triangular part of the matrix A, and the strictly upper triangular part of A is not referenced.
inldaThe leading dimension of the array A. lda >= max(1,n).
outAPDouble precision array, dimension (n*(n+1)/2) On exit, the upper or lower triangular matrix A, packed columnwise in a linear array. The j-th column of A is stored in the array AP as follows: if UPLO = ‘U’, AP(i + (j-1)*j/2) = A(i,j) for 1<=i<=j; if UPLO = ‘L’, AP(i + (j-1)*(2n-j)/2) = A(i,j) for j<=i<=n.
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void dtrttp(
const char* uplo,
const INT n,
const f64* restrict A,
const INT lda,
f64* restrict AP,
INT* info
);
Functions
-
void ctrttp(const char *uplo, const INT n, const c64 *restrict A, const INT lda, c64 *restrict AP, INT *info)#
CTRTTP copies a triangular matrix A from full format (TR) to standard packed format (TP).
Parameters
inuplo= ‘U’: A is upper triangular. = ‘L’: A is lower triangular.
innThe order of the matrices AP and A. n >= 0.
inASingle complex array, dimension (lda,n) On exit, the triangular matrix A. If UPLO = ‘U’, the leading n-by-n upper triangular part of A contains the upper triangular part of the matrix A, and the strictly lower triangular part of A is not referenced. If UPLO = ‘L’, the leading n-by-n lower triangular part of A contains the lower triangular part of the matrix A, and the strictly upper triangular part of A is not referenced.
inldaThe leading dimension of the array A. lda >= max(1,n).
outAPSingle complex array, dimension (n*(n+1)/2) On exit, the upper or lower triangular matrix A, packed columnwise in a linear array. The j-th column of A is stored in the array AP as follows: if UPLO = ‘U’, AP(i + (j-1)*j/2) = A(i,j) for 1<=i<=j; if UPLO = ‘L’, AP(i + (j-1)*(2n-j)/2) = A(i,j) for j<=i<=n.
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void ctrttp(
const char* uplo,
const INT n,
const c64* restrict A,
const INT lda,
c64* restrict AP,
INT* info
);
Functions
-
void ztrttp(const char *uplo, const INT n, const c128 *restrict A, const INT lda, c128 *restrict AP, INT *info)#
ZTRTTP copies a triangular matrix A from full format (TR) to standard packed format (TP).
Parameters
inuplo= ‘U’: A is upper triangular. = ‘L’: A is lower triangular.
innThe order of the matrices AP and A. n >= 0.
inADouble complex array, dimension (lda,n) On exit, the triangular matrix A. If UPLO = ‘U’, the leading n-by-n upper triangular part of A contains the upper triangular part of the matrix A, and the strictly lower triangular part of A is not referenced. If UPLO = ‘L’, the leading n-by-n lower triangular part of A contains the lower triangular part of the matrix A, and the strictly upper triangular part of A is not referenced.
inldaThe leading dimension of the array A. lda >= max(1,n).
outAPDouble complex array, dimension (n*(n+1)/2) On exit, the upper or lower triangular matrix A, packed columnwise in a linear array. The j-th column of A is stored in the array AP as follows: if UPLO = ‘U’, AP(i + (j-1)*j/2) = A(i,j) for 1<=i<=j; if UPLO = ‘L’, AP(i + (j-1)*(2n-j)/2) = A(i,j) for j<=i<=n.
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void ztrttp(
const char* uplo,
const INT n,
const c128* restrict A,
const INT lda,
c128* restrict AP,
INT* info
);