trttf#

Functions

void strttf(
    const char*          transr,
    const char*          uplo,
    const INT            n,
    const f32*  restrict A,
    const INT            lda,
          f32*  restrict ARF,
          INT*           info
);
void strttf(const char *transr, const char *uplo, const INT n, const f32 *restrict A, const INT lda, f32 *restrict ARF, INT *info)#

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

Parameters

in
transr

= ‘N’: ARF in Normal form is wanted; = ‘T’: ARF in Transpose form is wanted.

in
uplo

= ‘U’: Upper triangle of A is stored; = ‘L’: Lower triangle of A is stored.

in
n

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

in
A

Double precision array, dimension (lda,n). On entry, the triangular matrix A. If UPLO = ‘U’, the leading n-by-n upper triangular part of the array A contains the upper triangular matrix, and the strictly lower triangular part of A is not referenced. If UPLO = ‘L’, the leading n-by-n lower triangular part of the array A contains the lower triangular matrix, and the strictly upper triangular part of A is not referenced.

in
lda

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

out
ARF

Double precision array, dimension (n*(n+1)/2). On exit, the triangular matrix A in RFP format.

out
info

  • = 0: successful exit

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

Functions

void dtrttf(
    const char*          transr,
    const char*          uplo,
    const INT            n,
    const f64*  restrict A,
    const INT            lda,
          f64*  restrict ARF,
          INT*           info
);
void dtrttf(const char *transr, const char *uplo, const INT n, const f64 *restrict A, const INT lda, f64 *restrict ARF, INT *info)#

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

Parameters

in
transr

= ‘N’: ARF in Normal form is wanted; = ‘T’: ARF in Transpose form is wanted.

in
uplo

= ‘U’: Upper triangle of A is stored; = ‘L’: Lower triangle of A is stored.

in
n

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

in
A

Double precision array, dimension (lda,n). On entry, the triangular matrix A. If UPLO = ‘U’, the leading n-by-n upper triangular part of the array A contains the upper triangular matrix, and the strictly lower triangular part of A is not referenced. If UPLO = ‘L’, the leading n-by-n lower triangular part of the array A contains the lower triangular matrix, and the strictly upper triangular part of A is not referenced.

in
lda

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

out
ARF

Double precision array, dimension (n*(n+1)/2). On exit, the triangular matrix A in RFP format.

out
info

  • = 0: successful exit

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

Functions

void ctrttf(
    const char*          transr,
    const char*          uplo,
    const INT            n,
    const c64*  restrict A,
    const INT            lda,
          c64*  restrict ARF,
          INT*           info
);
void ctrttf(const char *transr, const char *uplo, const INT n, const c64 *restrict A, const INT lda, c64 *restrict ARF, INT *info)#

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

Parameters

in
transr

= ‘N’: ARF in Normal mode is wanted; = ‘C’: ARF in Conjugate Transpose mode is wanted.

in
uplo

= ‘U’: Upper triangle of A is stored; = ‘L’: Lower triangle of A is stored.

in
n

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

in
A

Single complex array, dimension (lda,n). On entry, the triangular matrix A. If UPLO = ‘U’, the leading n-by-n upper triangular part of the array A contains the upper triangular matrix, and the strictly lower triangular part of A is not referenced. If UPLO = ‘L’, the leading n-by-n lower triangular part of the array A contains the lower triangular matrix, and the strictly upper triangular part of A is not referenced.

in
lda

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

out
ARF

Single complex array, dimension (n*(n+1)/2). On exit, the triangular matrix A in RFP format.

out
info

  • = 0: successful exit

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

Functions

void ztrttf(
    const char*          transr,
    const char*          uplo,
    const INT            n,
    const c128* restrict A,
    const INT            lda,
          c128* restrict ARF,
          INT*           info
);
void ztrttf(const char *transr, const char *uplo, const INT n, const c128 *restrict A, const INT lda, c128 *restrict ARF, INT *info)#

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

Parameters

in
transr

= ‘N’: ARF in Normal mode is wanted; = ‘C’: ARF in Conjugate Transpose mode is wanted.

in
uplo

= ‘U’: Upper triangle of A is stored; = ‘L’: Lower triangle of A is stored.

in
n

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

in
A

Double complex array, dimension (lda,n). On entry, the triangular matrix A. If UPLO = ‘U’, the leading n-by-n upper triangular part of the array A contains the upper triangular matrix, and the strictly lower triangular part of A is not referenced. If UPLO = ‘L’, the leading n-by-n lower triangular part of the array A contains the lower triangular matrix, and the strictly upper triangular part of A is not referenced.

in
lda

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

out
ARF

Double complex array, dimension (n*(n+1)/2). On exit, the triangular matrix A in RFP format.

out
info

  • = 0: successful exit

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