scipy.linalg.blas.ztrsv#

scipy.linalg.blas.ztrsv(a, x, offx=0, incx=1, lower=0, trans=0, diag=0, overwrite_x=0) = <fblas function ztrsv>#

Solve the triangular system op(a)@x = b in place (BLAS ztrsv).

Parameters:
andarray

Triangular matrix; only the triangle selected by lower is referenced.

xndarray

Input/output vector.

offxint, optional

Index of the first element of x to use. Default is 0.

incxint, optional

Stride between successive elements of x. Default is 1.

lowerint, optional

If 0, the upper triangle is used; if 1, the lower. Default is 0.

transint, optional

Operation on the matrix: 0 none, 1 transpose, 2 conjugate transpose. Default is 0.

diagint, optional

If 0, the matrix has a non-unit diagonal; if 1, it is unit-triangular. Default is 0.

overwrite_xint, optional

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

Returns:
xndarray

The solution x.