SuperLU.solve(b[, trans])

Solves linear system of equations with one or several right-hand sides.

Parameters :

b : ndarray, shape (n,) or (n, k)

Right hand side(s) of equation

trans : {‘N’, ‘T’, ‘H’}, optional

Type of system to solve:

'N':   A   * x == b  (default)
'T':   A^T * x == b
'H':   A^H * x == b

i.e., normal, transposed, and hermitian conjugate.

Returns :

x : ndarray, shape b.shape

Solution vector(s)