tpttf#

Functions

void stpttf(
    const char*          transr,
    const char*          uplo,
    const INT            n,
    const f32*  restrict AP,
          f32*  restrict ARF,
          INT*           info
);
void stpttf(const char *transr, const char *uplo, const INT n, const f32 *restrict AP, f32 *restrict ARF, INT *info)#

STPTTF copies a triangular matrix A from standard packed format (TP) to rectangular full packed format (TF).

Parameters

in
transr

= ‘N’: ARF in Normal format is wanted; = ‘T’: ARF in Conjugate-transpose format is wanted.

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
ARF

Double precision array, dimension ( n*(n+1)/2 ), On exit, the upper or lower triangular matrix A stored in RFP format. For a further discussion see Notes below.

out
info

  • = 0: successful exit

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

Functions

void dtpttf(
    const char*          transr,
    const char*          uplo,
    const INT            n,
    const f64*  restrict AP,
          f64*  restrict ARF,
          INT*           info
);
void dtpttf(const char *transr, const char *uplo, const INT n, const f64 *restrict AP, f64 *restrict ARF, INT *info)#

DTPTTF copies a triangular matrix A from standard packed format (TP) to rectangular full packed format (TF).

Parameters

in
transr

= ‘N’: ARF in Normal format is wanted; = ‘T’: ARF in Conjugate-transpose format is wanted.

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
ARF

Double precision array, dimension ( n*(n+1)/2 ), On exit, the upper or lower triangular matrix A stored in RFP format. For a further discussion see Notes below.

out
info

  • = 0: successful exit

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

Functions

void ctpttf(
    const char*          transr,
    const char*          uplo,
    const INT            n,
    const c64*  restrict AP,
          c64*  restrict ARF,
          INT*           info
);
void ctpttf(const char *transr, const char *uplo, const INT n, const c64 *restrict AP, c64 *restrict ARF, INT *info)#

CTPTTF copies a triangular matrix A from standard packed format (TP) to rectangular full packed format (TF).

Parameters

in
transr

= ‘N’: ARF in Normal format is wanted; = ‘C’: ARF in Conjugate-transpose format is wanted.

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
ARF

Single complex array, dimension ( n*(n+1)/2 ), On exit, the upper or lower triangular matrix A stored in RFP format. For a further discussion see Notes below.

out
info

  • = 0: successful exit

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

Functions

void ztpttf(
    const char*          transr,
    const char*          uplo,
    const INT            n,
    const c128* restrict AP,
          c128* restrict ARF,
          INT*           info
);
void ztpttf(const char *transr, const char *uplo, const INT n, const c128 *restrict AP, c128 *restrict ARF, INT *info)#

ZTPTTF copies a triangular matrix A from standard packed format (TP) to rectangular full packed format (TF).

Parameters

in
transr

= ‘N’: ARF in Normal format is wanted; = ‘C’: ARF in Conjugate-transpose format is wanted.

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
ARF

Double complex array, dimension ( n*(n+1)/2 ), On exit, the upper or lower triangular matrix A stored in RFP format. For a further discussion see Notes below.

out
info

  • = 0: successful exit

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