Click or drag to resize

DoubleIterativelyReweightedLeastSq(Int32, Double, IDoubleLeastSqWeightingFunction) Constructor

Constructs a DoubleIterativelyReweightedLeastSq instance from the given parameters.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DoubleIterativelyReweightedLeastSq(
	int maxIterations,
	double tolerance,
	IDoubleLeastSqWeightingFunction weightsFunction
)

Parameters

maxIterations  Int32
The maximum iterations to be performed. The algorithm will be terminated when it converges or the maximum number of iterations has been reached, which ever comes first.
tolerance  Double
The tolerance given to the ToleranceMet function. If using the default ToleranceMet function, the tolerance should be a relative one since the difference between successive solutions will be a relative one, that is the difference will be divided by the larger of the two solutions producing a value between 0 and 1.
weightsFunction  IDoubleLeastSqWeightingFunction
Weighting function.
See Also