Nest(f, expr, n)
starting with
expr
, iteratively appliesf
n
times and returns the final result.
>> Nest(f, x, 3)
f(f(f(x)))
>> Nest((1+#) ^ 2 &, x, 2)
(1+(1+x)^2)^2
FixedPoint, FixedPointList, NestWhile
- ✅ - full supported
Nest(f, expr, n)
starting with
expr
, iteratively appliesf
n
times and returns the final result.
>> Nest(f, x, 3)
f(f(f(x)))
>> Nest((1+#) ^ 2 &, x, 2)
(1+(1+x)^2)^2
FixedPoint, FixedPointList, NestWhile