This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / ctrttp

lapack_function

scipy.linalg._flapack:ctrttp

source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so

Signature

def ctrttp(a, uplo = U)

Summary

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

Parameters

a : ndarray

Square matrix of shape (n, n); only the triangle named by uplo is read.

uplo : str, optional

'U' if the matrix is upper triangular, 'L' if lower. Default is 'U'.

Returns

ap : ndarray

The triangle in packed storage (TP).

info : int

0 on success; if negative, the -info-th argument had an illegal value.

Aliases

  • scipy.linalg._flapack.ctrttp