?tfttr
?tfttr
Copies a triangular matrix from the rectangular full packed format (TF)
to the standard full format (TR)
.
Syntax
lapack_int
LAPACKE_stfttr
(
int
matrix_layout
,
char
transr
,
char
uplo
,
lapack_int
n
,
const
float
*
arf
,
float
*
a
,
lapack_int
lda
);
lapack_int
LAPACKE_dtfttr
(
int
matrix_layout
,
char
transr
,
char
uplo
,
lapack_int
n
,
const
double
*
arf
,
double
*
a
,
lapack_int
lda
);
lapack_int
LAPACKE_ctfttr
(
int
matrix_layout
,
char
transr
,
char
uplo
,
lapack_int
n
,
const
lapack_complex_float
*
arf
,
lapack_complex_float
*
a
,
lapack_int
lda
);
lapack_int
LAPACKE_ztfttr
(
int
matrix_layout
,
char
transr
,
char
uplo
,
lapack_int
n
,
const
lapack_complex_double
*
arf
,
lapack_complex_double
*
a
,
lapack_int
lda
);
Include Files
- mkl.h
Description
The routine copies a triangular matrix
A
from the Rectangular Full Packed
(RFP)
format
to the standard full format. For the description of the RFP format, see Matrix Storage Schemes.
Input Parameters
- matrix_layout
- Specifies whether matrix storage layout is row major (LAPACK_ROW_MAJOR) or column major (LAPACK_COL_MAJOR).
- transr
- = 'N':arfis in the Normal format,= 'T':arfis in the Transpose format (forstfttranddtfttr),= 'C':arfis in the Conjugate-transpose format (forctfttrandztfttr).
- uplo
- Specifies whetherAis upper or lower triangular:= 'U': A is upper triangular,= 'L': A is lower triangular.
- n
- The order of the matricesarfanda..n≥0
- arf
- On entry, the upper or lower triangular matrixArray, size at leastmax(1,n*(n+1)/2).Astored in the RFP format.
- lda
- The leading dimension of the arraya.lda≥max(1,n).
Output Parameters
- a
- Array, sizemax(1,.lda*n)On exit, the triangular matrixA. Ifuplo= 'U', the leadingn-by-nupper triangular part of the arrayacontains the upper triangular matrix, and the strictly lower triangular part ofais not referenced. Ifuplo= 'L', the leadingn-by-nlower triangular part of the arrayacontains the lower triangular matrix, and the strictly upper triangular part ofais not referenced.
Return Values
This function returns a value
info
.If , the execution is successful.
info
= 0If , the
info
< 0i
-th parameter had an illegal value.If , memory allocation error occurred.
info
= -1011