The API

class pymatsolver.solvers.Base(A)[source]

Required Properties:

  • accuracy_tol (Float): tolerance on the accuracy of the solver, a float, Default: 1e-06
  • check_accuracy (Boolean): check the accuracy of the solve?, a boolean, Default: False
T
accuracy_tol

accuracy_tol (Float): tolerance on the accuracy of the solver, a float, Default: 1e-06

check_accuracy

check_accuracy (Boolean): check the accuracy of the solve?, a boolean, Default: False

clean()[source]
is_hermitian
is_positive_definite
is_real
is_symmetric
set_kwargs(ignore=None, **kwargs)[source]

Sets key word arguments (kwargs) that are present in the object, throw an error if they don’t exist.

Basic Solvers

class pymatsolver.wrappers.Solver(A, **kwargs)

Required Properties:

  • accuracy_tol (Float): tolerance on the accuracy of the solver, a float, Default: 1e-06
  • check_accuracy (Boolean): check the accuracy of the solve?, a boolean, Default: False
clean()
class pymatsolver.wrappers.SolverLU(A, **kwargs)

Required Properties:

  • accuracy_tol (Float): tolerance on the accuracy of the solver, a float, Default: 1e-06
  • check_accuracy (Boolean): check the accuracy of the solve?, a boolean, Default: False
clean()
class pymatsolver.wrappers.SolverCG(A, **kwargs)

Required Properties:

  • accuracy_tol (Float): tolerance on the accuracy of the solver, a float, Default: 1e-06
  • check_accuracy (Boolean): check the accuracy of the solve?, a boolean, Default: False

Diagonal

class pymatsolver.solvers.Diagonal(A)[source]

Required Properties:

  • accuracy_tol (Float): tolerance on the accuracy of the solver, a float, Default: 1e-06
  • check_accuracy (Boolean): check the accuracy of the solve?, a boolean, Default: False

Triangular

class pymatsolver.solvers.Forward(A)[source]

Required Properties:

  • accuracy_tol (Float): tolerance on the accuracy of the solver, a float, Default: 1e-06
  • check_accuracy (Boolean): check the accuracy of the solve?, a boolean, Default: False
class pymatsolver.solvers.Backward(A)[source]

Required Properties:

  • accuracy_tol (Float): tolerance on the accuracy of the solver, a float, Default: 1e-06
  • check_accuracy (Boolean): check the accuracy of the solve?, a boolean, Default: False

Iterative Solvers

class pymatsolver.iterative.BicgJacobi(A, symmetric=True)[source]

Bicg Solver with Jacobi preconditioner

Required Properties:

  • accuracy_tol (Float): tolerance on the accuracy of the solver, a float, Default: 1e-06
  • check_accuracy (Boolean): check the accuracy of the solve?, a boolean, Default: False
clean()[source]
factor()[source]
maxiter = 1000
solver = None
tol = 1e-06

Direct Solvers