tpttr#
Functions
-
void stpttr(const char *uplo, const INT n, const f32 *restrict AP, f32 *restrict A, const INT lda, INT *info)#
STPTTR copies a triangular matrix A from standard packed format (TP) to standard full format (TR).
Parameters
inuplo= ‘U’: A is upper triangular. = ‘L’: A is lower triangular.
innThe order of the matrix A. n >= 0.
inAPDouble precision array, dimension ( n*(n+1)/2 ), On entry, 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.
outADouble 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).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void stpttr(
const char* uplo,
const INT n,
const f32* restrict AP,
f32* restrict A,
const INT lda,
INT* info
);
Functions
-
void dtpttr(const char *uplo, const INT n, const f64 *restrict AP, f64 *restrict A, const INT lda, INT *info)#
DTPTTR copies a triangular matrix A from standard packed format (TP) to standard full format (TR).
Parameters
inuplo= ‘U’: A is upper triangular. = ‘L’: A is lower triangular.
innThe order of the matrix A. n >= 0.
inAPDouble precision array, dimension ( n*(n+1)/2 ), On entry, 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.
outADouble 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).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void dtpttr(
const char* uplo,
const INT n,
const f64* restrict AP,
f64* restrict A,
const INT lda,
INT* info
);
Functions
-
void ctpttr(const char *uplo, const INT n, const c64 *restrict AP, c64 *restrict A, const INT lda, INT *info)#
CTPTTR copies a triangular matrix A from standard packed format (TP) to standard full format (TR).
Parameters
inuplo= ‘U’: A is upper triangular. = ‘L’: A is lower triangular.
innThe order of the matrix A. n >= 0.
inAPSingle complex array, dimension ( n*(n+1)/2 ), On entry, 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.
outASingle 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).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void ctpttr(
const char* uplo,
const INT n,
const c64* restrict AP,
c64* restrict A,
const INT lda,
INT* info
);
Functions
-
void ztpttr(const char *uplo, const INT n, const c128 *restrict AP, c128 *restrict A, const INT lda, INT *info)#
ZTPTTR copies a triangular matrix A from standard packed format (TP) to standard full format (TR).
Parameters
inuplo= ‘U’: A is upper triangular. = ‘L’: A is lower triangular.
innThe order of the matrix A. n >= 0.
inAPDouble complex array, dimension ( n*(n+1)/2 ), On entry, 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.
outADouble 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).
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value
void ztpttr(
const char* uplo,
const INT n,
const c128* restrict AP,
c128* restrict A,
const INT lda,
INT* info
);