The set A in the preceding definition is called the domain of f and the set B is called the codomain of f.
The set A in the preceding definition is called the domain of f and the set B is called the codomain of f.
Sometimes, A is the set of pre-images and f(A) is the set of images.