Developer Reference for Intel® oneAPI Math Kernel Library for C
?tpttf
Copies a triangular matrix from the standard packed format (TP) to the rectangular full packed format (TF).
Syntax
lapack_intLAPACKE_stpttf ( intmatrix_layout , chartransr , charuplo , lapack_intn , constfloat*ap , float*arf );
lapack_intLAPACKE_dtpttf ( intmatrix_layout , chartransr , charuplo , lapack_intn , constdouble*ap , double*arf );
lapack_intLAPACKE_ctpttf ( intmatrix_layout , chartransr , charuplo , lapack_intn , constlapack_complex_float*ap , lapack_complex_float*arf );
lapack_intLAPACKE_ztpttf ( intmatrix_layout , chartransr , charuplo , lapack_intn , constlapack_complex_double*ap , lapack_complex_double*arf );
Include Files
mkl.h
Description
stpttf dtpttf ctpttf ztpttf
The routine copies a triangular matrix A from the standard packed format to the Rectangular Full Packed (RFP) 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’: arf must be in the Normal format, = ‘T’: arf must be in the Transpose format (for stpttf and dtpttf ), = ‘C’: arf must be in the Conjugate-transpose format (for ctpttf and ztpttf ).
uplo
Specifies whether A is upper or lower triangular: = ‘U’: A is upper triangular, = ‘L’: A is lower triangular.
n
The order of the matrix A . n≥ 0 .
- ap
-
REAL for stpttf , DOUBLE PRECISION for dtpttf , COMPLEX for ctpttf , DOUBLE COMPLEX for ztpttf . Array, size at least max (1, n *( n +1)/2).
On entry, the upper or lower triangular matrix A , packed in a linear array. See Matrix Storage Schemes for more information.
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 .
Output Parameters
- arf
-
REAL for stpttf , DOUBLE PRECISION for dtpttf , COMPLEX for ctfttp , DOUBLE COMPLEX for ztpttf . Array, size at least max (1, n *( n +1)/2).
Return Values
This function returns a value info .
If info = 0 , the execution is successful.
< 0: if info = - i , the i -th parameter had an illegal value.
If info = -1011 , memory allocation error occurred.