scipy.linalg.lapack.ctfttp#
- scipy.linalg.lapack.ctfttp(n, arf, transr='N', uplo='U') = <flapack function ctfttp>#
Convert a triangle from rectangular full packed (RFP) to packed (TP) storage (LAPACK
ctfttp).- 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:
- apndarray
The triangle in packed storage (TP).
- infoint
0 on success; if negative, the
-info-th argument had an illegal value.