Default convergence function for IRLS. Can be made into a ToleranceMet delegate.
Namespace:
CenterSpace.NMath.MatrixAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static bool SolutionUnchanged( double tol, DoubleVector lastSoln, DoubleVector currentSoln, DoubleVector lastResiduals, DoubleVector currentResiduals ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function SolutionUnchanged ( _ tol As Double, _ lastSoln As DoubleVector, _ currentSoln As DoubleVector, _ lastResiduals As DoubleVector, _ currentResiduals As DoubleVector _ ) As Boolean |
| Visual C++ |
|---|
public: static bool SolutionUnchanged( double tol, DoubleVector^ lastSoln, DoubleVector^ currentSoln, DoubleVector^ lastResiduals, DoubleVector^ currentResiduals ) |
Parameters
- tol
- Type: System..::.Double
The convergence tolerance.
- lastSoln
- Type: CenterSpace.NMath.Core..::.DoubleVector
The solution from the previous iteration.
- currentSoln
- Type: CenterSpace.NMath.Core..::.DoubleVector
The current solution.
- lastResiduals
- Type: CenterSpace.NMath.Core..::.DoubleVector
The residuals from the last iteration.
- currentResiduals
- Type: CenterSpace.NMath.Core..::.DoubleVector
The current residuals.