scipy.linalg.lapack.ctpttr#

scipy.linalg.lapack.ctpttr(n, ap, uplo='U') = <flapack function ctpttr>#

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

Parameters:
nint

Order of the square matrix.

apndarray

The triangle in packed storage (TP), length n * (n + 1) / 2.

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.