ScipyInterface
- class ScipyInterface(compute_inertia=False)
Bases:
LinearSolverInterface
- do_symbolic_factorization(matrix, raise_on_error=True, timer=None)
Perform symbolic factorization with the nonzero structure of the matrix.
- do_numeric_factorization(matrix, raise_on_error=True, timer=None)
Factorize the matrix. Can only be called after do_symbolic_factorization.
- do_back_solve(rhs)
Solve the linear system matrix * x = rhs for x. Can only be called after do_numeric_factorization.
- get_inertia()
Get the inertia of the factorized matrix. Can only be called after do_numeric_factorization.