scipy.linalg.lapack.ctpttf#

scipy.linalg.lapack.ctpttf(n, ap, transr='N', uplo='U') = <flapack function ctpttf>#

Convert a triangle from packed (TP) to rectangular full packed (RFP) storage (LAPACK ctpttf).

Parameters:
nint

Order of the square matrix.

apndarray

The triangle in packed storage (TP), length n * (n + 1) / 2.

transrstr, optional

'N' for the normal RFP layout, 'C' for the transposed one. Default is 'N'.

uplostr, optional

'U' if the matrix is upper triangular, 'L' if lower. Default is 'U'.

Returns:
arfndarray

The triangle in rectangular full packed storage (RFP).

infoint

0 on success; if negative, the -info-th argument had an illegal value.