What is the meaning of these? "$g: \mathbb{R} \rightarrow [-5,-2]$" and "$h:\mathbb{R} \rightarrow \mathbb{R}^2$"

61 Views Asked by At

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.