org.la4j.linear
Class GaussianSolver
- java.lang.Object
-
- org.la4j.linear.AbstractSolver
-
- org.la4j.linear.GaussianSolver
-
- All Implemented Interfaces:
- java.io.Serializable, LinearSystemSolver
public class GaussianSolver extends AbstractSolver implements LinearSystemSolver
This class represents Gaussian method for solving linear systems. More details- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description GaussianSolver(Matrix a)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanapplicableTo(Matrix matrix)Checks whether this solver applicable to givenmatrixor not.Vectorsolve(Vector b)Solves the system A*x = b.-
Methods inherited from class org.la4j.linear.AbstractSolver
equations, self, unknowns
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.la4j.linear.LinearSystemSolver
equations, self, unknowns
-
-
-
-
Constructor Detail
-
GaussianSolver
public GaussianSolver(Matrix a)
-
-
Method Detail
-
solve
public Vector solve(Vector b)
Description copied from interface:LinearSystemSolverSolves the system A*x = b.- Specified by:
solvein interfaceLinearSystemSolver- Returns:
-
applicableTo
public boolean applicableTo(Matrix matrix)
Description copied from interface:LinearSystemSolverChecks whether this solver applicable to givenmatrixor not.- Specified by:
applicableToin interfaceLinearSystemSolver
-
-
DMelt 3.0 © DataMelt by jWork.ORG