Interface LinearSystemSolver
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractSolver, ForwardBackSubstitutionSolver, GaussianSolver, JacobiSolver, LeastNormSolver, LeastSquaresSolver, SeidelSolver, SquareRootSolver, SweepSolver
Linear System Solver interface;
This class implements Strategy design pattern;
-
Method Summary
Modifier and TypeMethodDescriptionbooleanapplicableTo(Matrix matrix) Checks whether this solver applicable to givenmatrixor not.intReturns the number of equations in this solver.self()Returns the self matrix of the solver.Solves the system A*x = b.intunknowns()Returns the number os unknowns in this solver.
-
Method Details
-
solve
-
self
-
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
Checks whether this solver applicable to givenmatrixor not.- Parameters:
matrix-
-