scipy.linalg.lapack.ctfsm#

scipy.linalg.lapack.ctfsm(alpha, a, b, transr='N', side='L', uplo='U', trans='N', diag='N', overwrite_b=0) = <flapack function ctfsm>#

Solve a triangular system whose matrix is in rectangular full packed (RFP) storage (LAPACK ctfsm).

Solves op(A) @ x = alpha * b when side is 'L', or x @ op(A) = alpha * b when it is 'R'.

Parameters:
alphacomplex

Scalar the right-hand side is multiplied by.

andarray

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.

bndarray

Right-hand side of shape (m, n).

transrstr, optional

'N' for the normal RFP layout, 'C' for the transposed one. Default is 'N'.

sidestr, optional

'L' for op(A) @ x, 'R' for x @ op(A). Default is 'L'.

uplostr, optional

'U' if the matrix is upper triangular, 'L' if lower. Default is 'U'.

transstr, optional

'N' for op(A) = A, 'C' for its conjugate transpose. Default is 'N'.

diagstr, optional

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

overwrite_bint, optional

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

Returns:
xndarray

The solution, overwriting b.