bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / stfsm
lapack_function
scipy.linalg._flapack:stfsm
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def stfsm(alpha, a, b, transr = N, side = L, uplo = U, trans = N, diag = N, overwrite_b = 0)Summary
Solve a triangular system whose matrix is in rectangular full packed (RFP) storage (LAPACK stfsm).
Extended Summary
Solves op(A) @ x = alpha * b when side is 'L', or x @ op(A) = alpha * b when it is 'R'.
Parameters
alpha: floatScalar the right-hand side is multiplied by.
a: ndarrayThe triangle of
Ain RFP storage. Its order is the number of rows ofbwhensideis'L', its number of columns when'R', and its length isorder * (order + 1) / 2.b: ndarrayRight-hand side of shape
(m, n).transr: str, optional'N'for the normal RFP layout,'T'for the transposed one. Default is'N'.side: str, optional'L'forop(A) @ x,'R'forx @ op(A). Default is'L'.uplo: str, optional'U'if the matrix is upper triangular,'L'if lower. Default is'U'.trans: str, optional'N'forop(A) = A,'T'for its transpose. Default is'N'.diag: str, optional'U'ifAhas a unit diagonal,'N'otherwise. Default is'N'.overwrite_b: int, optionalIf nonzero,
bmay be overwritten in place. Default is 0.
Returns
x: ndarrayThe solution, overwriting
b.
Aliases
scipy.linalg._flapack.stfsm