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 / dtpttr

lapack_function

scipy.linalg._flapack:dtpttr

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

Signature

def dtpttr(n, ap, uplo = U)

Summary

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

Parameters

n : int

Order of the square matrix.

ap : ndarray

The 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 : ndarray

The triangle in full storage, shape (n, n); the other triangle is zero.

info : int

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

Aliases

  • scipy.linalg._flapack.dtpttr