bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _fblas / strsm
blas_function
scipy.linalg._fblas:strsm
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_fblas.cpython-314-x86_64-linux-gnu.so
Signature
def strsm(alpha, a, b, side = 0, lower = 0, trans_a = 0, diag = 0, overwrite_b = 0)Summary
Solve the triangular system op(a)@x = alpha*b for x (BLAS strsm).
Parameters
alpha: floatScalar multiplier.
a: ndarrayTriangular matrix; only the triangle selected by
loweris referenced.b: ndarrayInput/output matrix.
side: int, optionalIf 0,
amultiplies from the left; if 1, from the right. Default is 0.lower: int, optionalIf 0, the upper triangle is used; if 1, the lower. Default is 0.
trans_a: int, optionalOperation on
a: 0 none, 1 transpose, 2 conjugate transpose. Default is 0.diag: int, optionalIf 0, the matrix has a non-unit diagonal; if 1, it is unit-triangular. Default is 0.
overwrite_b: int, optionalIf nonzero,
bmay be overwritten in place. Default is 0.
Returns
b: ndarrayThe solution
x(or the solution ofx@op(a) = alpha*bifside=1).
Aliases
scipy.linalg._fblas.strsm