A mapping relates elements of its domain to elements of its range as follows.
A mapping resides in a data structure that supports two operations:
Map links an element in the range of to an arbitrary element in the domain of , i.e. sets to .
Evaluate evaluates the mapping for an arbitrary element in its domain, i.e. returns .