Class SquareRootSolver
java.lang.Object
org.la4j.linear.AbstractSolver
org.la4j.linear.SquareRootSolver
- All Implemented Interfaces:
Serializable, LinearSystemSolver
This class represents Square Root method
for solving linear systems.
- See Also:
-
Field Summary
FieldsFields inherited from class 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 AbstractSolver
ensureRHSIsCorrect, equations, fail, self, unknownsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface LinearSystemSolver
equations, self, unknowns
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
SquareRootSolver
-
-
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-
-