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

lapack_function

scipy.linalg._flapack:zpptrs

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

Signature

def zpptrs(n, ap, b, lower = 0, overwrite_b = 0)

Summary

Solve a positive definite system in packed storage using a Cholesky factorization already computed by pptrf (LAPACK zpptrs).

Parameters

n : int

Order of the square matrix.

ap : ndarray

Cholesky factorization in packed storage, as returned by pptrf.

b : ndarray

Right-hand side(s) of shape (n, nrhs).

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_b : int, optional

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

Returns

x : ndarray

Solution of the system, overwriting b.

info : int

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

Aliases

  • scipy.linalg._flapack.zpptrs