tpttr#

Functions

void stpttr(
    const char*          uplo,
    const INT            n,
    const f32*  restrict AP,
          f32*  restrict A,
    const INT            lda,
          INT*           info
);
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

in
uplo

= ‘U’: A is upper triangular. = ‘L’: A is lower triangular.

in
n

The order of the matrix A. n >= 0.

in
AP

Double 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.

out
A

Double 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.

in
lda

The leading dimension of the array A. lda >= max(1,n).

out
info

  • = 0: successful exit

  • < 0: if info = -i, the i-th argument had an illegal value

Functions

void dtpttr(
    const char*          uplo,
    const INT            n,
    const f64*  restrict AP,
          f64*  restrict A,
    const INT            lda,
          INT*           info
);
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

in
uplo

= ‘U’: A is upper triangular. = ‘L’: A is lower triangular.

in
n

The order of the matrix A. n >= 0.

in
AP

Double 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.

out
A

Double 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.

in
lda

The leading dimension of the array A. lda >= max(1,n).

out
info

  • = 0: successful exit

  • < 0: if info = -i, the i-th argument had an illegal value

Functions

void ctpttr(
    const char*          uplo,
    const INT            n,
    const c64*  restrict AP,
          c64*  restrict A,
    const INT            lda,
          INT*           info
);
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

in
uplo

= ‘U’: A is upper triangular. = ‘L’: A is lower triangular.

in
n

The order of the matrix A. n >= 0.

in
AP

Single 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.

out
A

Single 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.

in
lda

The leading dimension of the array A. lda >= max(1,n).

out
info

  • = 0: successful exit

  • < 0: if info = -i, the i-th argument had an illegal value

Functions

void ztpttr(
    const char*          uplo,
    const INT            n,
    const c128* restrict AP,
          c128* restrict A,
    const INT            lda,
          INT*           info
);
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

in
uplo

= ‘U’: A is upper triangular. = ‘L’: A is lower triangular.

in
n

The order of the matrix A. n >= 0.

in
AP

Double 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.

out
A

Double 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.

in
lda

The leading dimension of the array A. lda >= max(1,n).

out
info

  • = 0: successful exit

  • < 0: if info = -i, the i-th argument had an illegal value