Perspective function (source code)

= Perspective function
{wiki}

The perspective of f is g(t,x)=t f(x/t) for positive t and preserves convexity.