scipy.linalg.blas.ctrsm#

scipy.linalg.blas.ctrsm(alpha, a, b, side=0, lower=0, trans_a=0, diag=0, overwrite_b=0) = <fblas function ctrsm>#

Solve the triangular system op(a)@x = alpha*b for x (BLAS ctrsm).

Parameters:
alphacomplex

Scalar multiplier.

andarray

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

bndarray

Input/output matrix.

sideint, optional

If 0, a multiplies from the left; if 1, from the right. Default is 0.

lowerint, optional

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

trans_aint, optional

Operation on a: 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_bint, optional

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

Returns:
bndarray

The solution x (or the solution of x@op(a) = alpha*b if side=1).