scipy.linalg.lapack.dtrttp#

scipy.linalg.lapack.dtrttp(a, uplo='U') = <flapack function dtrttp>#

Convert a triangle from full (TR) to packed (TP) storage (LAPACK dtrttp).

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.