SORSolver constructor
SORSolver({})
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;
- w is the relaxation factor;
- maxSteps the maximum number of iterations the algorithm.
Implementation
SORSolver({
required super.matrix,
required super.knownValues,
required this.w,
super.precision,
this.maxSteps = 30,
});