public class GaussianSolver extends AbstractSolver implements LinearSystemSolver
a, equations, unknowns
Constructor and Description |
---|
GaussianSolver(Matrix a) |
Modifier and Type | Method and Description |
---|---|
boolean |
applicableTo(Matrix matrix)
Checks whether this solver applicable to given
matrix or not. |
Vector |
solve(Vector b)
Solves the system A*x = b.
|
ensureRHSIsCorrect, equations, fail, self, unknowns
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equations, self, unknowns
public GaussianSolver(Matrix a)
public Vector solve(Vector b)
LinearSystemSolver
solve
in interface LinearSystemSolver
public boolean applicableTo(Matrix matrix)
LinearSystemSolver
matrix
or not.applicableTo
in interface LinearSystemSolver
Copyright © 2015. All rights reserved.