This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

FixedPoint

FixedPoint[f, expr]
starts with expr, then applies f repeatedly until the result no longer changes.
  • FixedPoint[f, expr, n] stops after at most n steps.
  • FixedPoint always returns the last result it gets.
  • FixedPoint[f, expr] applies SameQ to successive pairs of results to determine whether a fixed point has been reached.
  • NestWhile[f, expr, comp, 2] provides a way to use a general comparison function.
New in 1 | Last modified in 3