MaxIterations
is an option that specifies the maximum number of iterations that should be tried in various built-in functions and algorithms.
Examples
open allclose allScope (2)
MaxIterations can be infinite:
Limit or increase the number of steps taken with MaxIterations:
The default number of iterations for FindRoot is 100:
Eventually the algorithm stalls out since this mollifier function has all derivatives 0 at :
Applications (1)
Use a limited number of iterations to select candidates for a global minimum:
Find the minimum to 10 digits using arbitrary-precision arithmetic:
This can be done automatically with NMinimize:
Text
Wolfram Research (1988), MaxIterations, Wolfram Language function, https://reference.wolfram.com/language/ref/MaxIterations.html.
CMS
Wolfram Language. 1988. "MaxIterations." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MaxIterations.html.
APA
Wolfram Language. (1988). MaxIterations. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MaxIterations.html