scipy.linalg.lapack.dtfsm#
- scipy.linalg.lapack.dtfsm(alpha, a, b, transr='N', side='L', uplo='U', trans='N', diag='N', overwrite_b=0) = <flapack function dtfsm>#
Solve a triangular system whose matrix is in rectangular full packed (RFP) storage (LAPACK
dtfsm).Solves
op(A) @ x = alpha * bwhen side is'L', orx @ op(A) = alpha * bwhen it is'R'.- Parameters:
- alphafloat
Scalar the right-hand side is multiplied by.
- andarray
The triangle of
Ain RFP storage. Its order is the number of rows of b when side is'L', its number of columns when'R', and its length isorder * (order + 1) / 2.- bndarray
Right-hand side of shape
(m, n).- transrstr, optional
'N'for the normal RFP layout,'T'for the transposed one. Default is'N'.- sidestr, optional
'L'forop(A) @ x,'R'forx @ op(A). Default is'L'.- uplostr, optional
'U'if the matrix is upper triangular,'L'if lower. Default is'U'.- transstr, optional
'N'forop(A) = A,'T'for its transpose. Default is'N'.- diagstr, optional
'U'ifAhas 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.