private CGAlgorithm(double residualTolerance, IMaxIterationsProvider maxIterationsProvider, ICGResidualConvergence residualConvergence, ICGResidualUpdater residualUpdater) { this.residualTolerance = residualTolerance; this.maxIterationsProvider = maxIterationsProvider; this.residualConvergence = residualConvergence; this.residualUpdater = residualUpdater; }
public SmallToleranceCGResidualUpdater(double residualTolerance, ICGResidualConvergence convergence) { this.convergence = convergence; this.residualTolerance = residualTolerance; }