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

bundles / scipy latest / 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 : float

Scalar the right-hand side is multiplied by.

a : ndarray

The triangle of A in RFP storage. Its order is the number of rows of b when side is 'L', its number of columns when 'R', and its length is order * (order + 1) / 2.

b : ndarray

Right-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' for op(A) @ x, 'R' for x @ 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' for op(A) = A, 'T' for its transpose. Default is 'N'.

diag : str, optional

'U' if A has a unit diagonal, 'N' otherwise. Default is 'N'.

overwrite_b : int, optional

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

Returns

x : ndarray

The solution, overwriting b.

Aliases

  • scipy.linalg._flapack.stfsm