cupyx.scipy.sparse.linalg.SuperLU

class cupyx.scipy.sparse.linalg.SuperLU(obj)[source]

Methods

solve(rhs, trans='N')[source]

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

Parameters
  • rhs (cupy.ndarray) – Right-hand side(s) of equation with dimension (M) or (M, K).

  • trans (str) – ‘N’, ‘T’ or ‘H’. ‘N’: Solves A * x = rhs. ‘T’: Solves A.T * x = rhs. ‘H’: Solves A.conj().T * x = rhs.

Returns

Solution vector(s)

Return type

cupy.ndarray

__eq__(value, /)

Return self==value.

__ne__(value, /)

Return self!=value.

__lt__(value, /)

Return self<value.

__le__(value, /)

Return self<=value.

__gt__(value, /)

Return self>value.

__ge__(value, /)

Return self>=value.