public class JacobiSolver extends AbstractSolver implements LinearSystemSolver
a, equations, unknowns
Constructor and Description |
---|
JacobiSolver(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 JacobiSolver(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.