| ConjugateGradientMinimizer(Double, Int32) Constructor |
Constructs a ConjugateGradientMinimizer instance with the given maximum number of
iterations.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public ConjugateGradientMinimizer(
double tolerance,
int maxIterations
)
Public Sub New (
tolerance As Double,
maxIterations As Integer
)
public:
ConjugateGradientMinimizer(
double tolerance,
int maxIterations
)
new :
tolerance : float *
maxIterations : int -> ConjugateGradientMinimizer
Parameters
- tolerance Double
- The error tolerance.
- maxIterations Int32
- The maximum number of iterations.
Remarks
The default error tolerance is used.
Iteration stops when either the estimated error is less
than the tolerance, or the maximum number of iterations is reached.
Setting the error tolerance to less than zero ensures that the maximum number
of iterations is always reached.
See Also