Package org.la4j.linear
Class JacobiSolver
java.lang.Object
org.la4j.linear.AbstractSolver
org.la4j.linear.JacobiSolver
- All Implemented Interfaces:
Serializable,LinearSystemSolver
This class represents Jacobi method for solving linear systems. More details
- See Also:
-
Field Summary
FieldsFields inherited from class org.la4j.linear.AbstractSolver
a, equations, unknowns -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplicableTo(Matrix matrix) Checks whether this solver applicable to givenmatrixor not.Solves the system A*x = b.Methods inherited from class org.la4j.linear.AbstractSolver
ensureRHSIsCorrect, equations, fail, self, unknownsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.la4j.linear.LinearSystemSolver
equations, self, unknowns
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
aa
-
-
Constructor Details
-
JacobiSolver
-
-
Method Details
-
solve
Description copied from interface:LinearSystemSolverSolves the system A*x = b.- Specified by:
solvein interfaceLinearSystemSolver- Parameters:
b-- Returns:
-
applicableTo
Description copied from interface:LinearSystemSolverChecks whether this solver applicable to givenmatrixor not.- Specified by:
applicableToin interfaceLinearSystemSolver- Parameters:
matrix-
-