scipy.linalg.lapack.stfttr#

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

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

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, 'T' 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.