bundles / scipy latest / scipy / linalg / _flapack / dpptrf
lapack_function
scipy.linalg._flapack:dpptrf
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def dpptrf(n, ap, lower = 0, overwrite_ap = 0)Summary
Compute the Cholesky factorization of a positive definite matrix in packed storage (LAPACK dpptrf).
Parameters
n: intOrder of the square matrix.
ap: ndarrayThe triangle named by
lower, in packed storage: then * (n + 1) / 2elements of one triangle, column by column. A longer array is accepted and its tail ignored.lower: int, optionalIf nonzero, the lower triangle of
ais referenced and the factor is lower triangular; otherwise the upper. Default is 0.overwrite_ap: int, optionalIf nonzero,
apmay be overwritten in place. Default is 0.
Returns
ul: ndarrayThe Cholesky factor in packed storage, overwriting
ap.info: int0 on success; if negative, the
-info-th argument had an illegal value.
Aliases
scipy.linalg._flapack.dpptrf