Skip to content

FixedPoint

Applies a function repeatedly until the result stops changing, or until n iterations have occurred.

$ wo 'FixedPoint[# + 1 &, 0, 3]'
3