bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / ctpttr
lapack_function
scipy.linalg._flapack:ctpttr
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def ctpttr(n, ap, uplo = U)Summary
Convert a triangle from packed (TP) to full (TR) storage (LAPACK ctpttr).
Parameters
n: intOrder of the square matrix.
ap: ndarrayThe triangle in packed storage (TP), length
n * (n + 1) / 2.uplo: str, optional'U'if the matrix is upper triangular,'L'if lower. Default is'U'.
Returns
a: ndarrayThe triangle in full storage, shape
(n, n); the other triangle is zero.info: int0 on success; if negative, the
-info-th argument had an illegal value.
Aliases
scipy.linalg._flapack.ctpttr