What is the meaning of the notation in the following?
a) $g: \mathbb{R} \rightarrow [-5,-2]$
b) $h:\mathbb{R} \rightarrow \mathbb{R}^2$
a) I'm thinking means domain is set to all real values, and codomain is set to point (or between $[-5,-2]$)
b) domain is set to all real values, codomain is set to all real values in second dimension.
Thanks for your help in advance.