f, domain, codomain, [f_inverse=None]) |
The first argument f is a function of one argument that takes objects in domain and returns objects in codomain. The Map object, when called with argument x, tries to coerce it into the domain, if possible, and raises an error if it is not.
codomain,
domain
These methods are defined as follows:
) |
) |
Instances of class Function also have the following special methods:
x) |
) |
See About this document... for information on suggesting changes.