scipy.linalg.lapack.ctfttr#

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

Convert a triangle from rectangular full packed (RFP) to full (TR) storage (LAPACK ctfttr).

Parameters:
nint

Order of the square matrix.

arfndarray

The triangle in rectangular full packed storage (RFP), 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:
andarray

The triangle in full storage, shape (n, n); the other triangle is zero.

infoint

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