solve — SciPy v1.15.3 Manual (original) (raw)
scipy.sparse.linalg.SuperLU.
SuperLU.solve(_rhs_[, _trans_])#
Solves linear system of equations with one or several right-hand sides.
Parameters:
rhsndarray, shape (n,) or (n, k)
Right hand side(s) of equation
trans{‘N’, ‘T’, ‘H’}, optional
Type of system to solve:
'N': A @ x == rhs (default) 'T': A^T @ x == rhs 'H': A^H @ x == rhs
i.e., normal, transposed, and hermitian conjugate.
Returns:
xndarray, shape rhs.shape
Solution vector(s)