the perspective function $P : \mathbb{R}^{n+1} \to \mathbb{R}^n$, with domain dom $P = \mathbb{R}^n \times \mathbb{R}^{++}$, as $P(z,t) = \frac{z}t$. (Here $\mathbb{R}^{++}$ denotes the set of positive numbers: $\mathbb{R}^{++} = \{x \in \mathbb{R} | x > 0\}$.) The perspective function scales or normalizes vectors so the last component is one, and then drops the last component.
I was reading convex optimisation and I am not able to understand what is a perspective function ! can any one explain please
For any fixed $z$, $P$ maps all points of the form $t(z,1)$, $(t>0)$ to $z$. These points form a ray emanating from the origin, so you can think of $P$ as the perspective projection onto the the hyperplane that consists of all points with last coordinate equal to $1$. The image of a point in $\mathbb R^{n+1}$ is then the point of intersection of the ray through the point and this hyperplane.