Macaulay2 » Documentation
Packages » Macaulay2Doc » The Macaulay2 language » lists and sequences » ultimate
next | previous | forward | backward | up | index | toc

ultimate -- ultimate value for an iteration

Description

ultimate(f,x) -- yields the value ultimately obtained by applying the function f to x.

Iteration ceases when an error occurs during application of the function, or the result is the same. Errors are not reported.

It's a bad idea to use this function, because unexpected errors will produce unexpected results silently.

Ways to use ultimate:

  • ultimate(Function,Thing)

For the programmer

The object ultimate is a method function.


The source of this document is in Macaulay2Doc/ov_types.m2:743:0.