I'm currently working through an real analysis text and came across a definition that seemed a little strange to me. When defining a function the text states:
For a function, $$f:\,S\rightarrow T$$ $S$ is called the Domain of $f$, and $T$ is called the Range of $f$.
Shouldn't $T$ be called the Codomain of $f$? Isn't $T$ the range of $f$ only if $f$ is onto?
I'd appreciate any clarification. Thanks.
