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

bundles / scipy latest / scipy / linalg / _flapack / cpftrs

lapack_function

scipy.linalg._flapack:cpftrs

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

Signature

def cpftrs(n, a, b, transr = N, uplo = U, overwrite_b = 0)

Summary

Solve a positive definite system in rectangular full packed (RFP) storage using a Cholesky factorization already computed by pftrf (LAPACK cpftrs).

Parameters

n : int

Order of the square matrix.

a : ndarray

Cholesky factorization in RFP storage, as returned by pftrf.

b : ndarray

Right-hand side(s). It may have more than n rows; only the leading n are read.

transr : str, optional

'N' for the normal RFP layout, 'C' for the transposed one. Default is 'N'.

uplo : str, optional

'U' if a holds the upper triangle, 'L' if lower. Default is 'U'.

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.cpftrs