scipy.linalg.lapack.ctrttp#
- scipy.linalg.lapack.ctrttp(a, uplo='U') = <flapack function ctrttp>#
Convert a triangle from full (TR) to packed (TP) storage (LAPACK
ctrttp).- Parameters:
- andarray
Square matrix of shape
(n, n); only the triangle named by uplo is read.- 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.