| DoubleIterativelyReweightedLeastSq(Int32, Double) Constructor |
Constructs a DoubleIterativelyReweightedLeastSq instance with
the given maximum iterations and tolerance.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public DoubleIterativelyReweightedLeastSq(
int maxIterations,
double tolerance
)
Public Sub New (
maxIterations As Integer,
tolerance As Double
)
public:
DoubleIterativelyReweightedLeastSq(
int maxIterations,
double tolerance
)
new :
maxIterations : int *
tolerance : float -> DoubleIterativelyReweightedLeastSq
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.
See Also