Package org.la4j.linear
Interface LinearSystemSolver
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
AbstractSolver
,ForwardBackSubstitutionSolver
,GaussianSolver
,JacobiSolver
,LeastNormSolver
,LeastSquaresSolver
,SeidelSolver
,SquareRootSolver
,SweepSolver
public interface LinearSystemSolver extends java.io.Serializable
Linear System Solver interface; This class implements Strategy design pattern;
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
applicableTo(Matrix matrix)
Checks whether this solver applicable to givenmatrix
or not.int
equations()
Returns the number of equations in this solver.Matrix
self()
Returns the self matrix of the solver.Vector
solve(Vector b)
Solves the system A*x = b.int
unknowns()
Returns the number os unknowns in this solver.
-
-
-
Method Detail
-
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 givenmatrix
or not.- Parameters:
matrix
-
-
-