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

bundles / scipy latest / scipy / linalg / _flapack / ztrtrs

lapack_function

scipy.linalg._flapack:ztrtrs

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

Summary

Solve a triangular system (LAPACK ztrtrs).

Parameters

a : ndarray

Triangular matrix; only the triangle named by lower is read.

b : ndarray

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

lower : int, optional

If nonzero, a is lower triangular; otherwise upper. Default is 0.

trans : int, optional

System to solve: 0 for a @ x = b, 1 for a.T @ x = b, 2 for a.conj().T @ x = b. Default is 0.

unitdiag : int, optional

If nonzero, the matrix is treated as having a unit diagonal and the stored diagonal is not referenced. Default is 0.

lda : int, optional

Leading dimension of a. It must equal a.shape[0]; the argument exists only because the .pyf exposed it. Default is a.shape[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.ztrtrs