FixedPoint
FixedPoint(f, expr)starting with
expr, iteratively appliesfuntil the result no longer changes.
FixedPoint(f, expr, n)performs at most
niterations.
See:
Examples
>> FixedPoint(Cos, 1.0)0.7390851332151607
>> FixedPoint(#+1 &, 1, 20)21
>> FixedPoint(f, x, 0)xNon-negative integer expected.
>> FixedPoint(f, x, -1)FixedPoint(f, x, -1)
>> FixedPoint(Cos, 1.0, Infinity)0.739085Related terms
FixedPointList, Nest, NestWhile
Implementation status
- ✅ - full supported