Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Documentation / Mathematica / Built-in Functions / Programming / Functional Programming /

FixedPoint

FilledSmallSquare FixedPoint[f, expr] starts with expr, then applies f repeatedly until the result no longer changes.

FilledSmallSquare FixedPoint[f, expr, n] stops after at most n steps.

FilledSmallSquare FixedPoint always returns the last result it gets.

FilledSmallSquare You can use Throw to exit from FixedPoint before it is finished.

FilledSmallSquare FixedPoint[f, expr] applies SameQ to successive pairs of results to determine whether a fixed point has been reached.

FilledSmallSquare NestWhile[f, expr, comp, 2] uses a general comparison function.

FilledSmallSquare See Section 2.2.2.

FilledSmallSquare See also: FixedPointList, NestWhile, Nest, ReplaceRepeated.

FilledSmallSquare New in Version 1; modified in 3.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information


 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja] |
Sign up for our newsletter: