GaussSeidelSolver constructor
GaussSeidelSolver({
- required RealMatrix matrix,
- required List<
double> knownValues, - double precision = 1.0e-10,
- int maxSteps = 30,
Given an equation in the form Ax = b
, A
is a square matrix containing
n
equations in n
unknowns and b
is the vector of the known values.
- matrix is the matrix containing the equations;
- knownValues is the vector with the known values;
- precision determines how accurate the algorithm has to be;
- maxSteps the maximum number of iterations the algorithm.
By default, maxSteps is set to 30
.
Implementation
GaussSeidelSolver({
required super.matrix,
required super.knownValues,
super.precision,
this.maxSteps = 30,
});