Interface LinearSystemSolver

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractSolver, ForwardBackSubstitutionSolver, GaussianSolver, JacobiSolver, LeastNormSolver, LeastSquaresSolver, SeidelSolver, SquareRootSolver, SweepSolver

public interface LinearSystemSolver extends Serializable
Linear System Solver interface; This class implements Strategy design pattern;
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks whether this solver applicable to given matrix or not.
    int
    Returns the number of equations in this solver.
    Returns the self matrix of the solver.
    Solves the system A*x = b.
    int
    Returns the number os unknowns in this solver.
  • Method Details

    • solve

      Vector solve(Vector b)
      Solves the system A*x = b.
      Parameters:
      b -
      Returns:
    • self

      Matrix self()
      Returns the self matrix of the solver.
      Returns:
    • unknowns

      int unknowns()
      Returns the number os unknowns in this solver.
      Returns:
    • equations

      int equations()
      Returns the number of equations in this solver.
      Returns:
    • applicableTo

      boolean applicableTo(Matrix matrix)
      Checks whether this solver applicable to given matrix or not.
      Parameters:
      matrix -