This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / linalg / _flapack / zpptrf

lapack_function

scipy.linalg._flapack:zpptrf

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

Signature

def zpptrf(n, ap, lower = 0, overwrite_ap = 0)

Summary

Compute the Cholesky factorization of a positive definite matrix in packed storage (LAPACK zpptrf).

Parameters

n : int

Order of the square matrix.

ap : ndarray

The triangle named by lower, in packed storage: the n * (n + 1) / 2 elements of one triangle, column by column. A longer array is accepted and its tail ignored.

lower : int, optional

If nonzero, the lower triangle of a is referenced and the factor is lower triangular; otherwise the upper. Default is 0.

overwrite_ap : int, optional

If nonzero, ap may be overwritten in place. Default is 0.

Returns

ul : ndarray

The Cholesky factor in packed storage, overwriting ap.

info : int

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

Aliases

  • scipy.linalg._flapack.zpptrf