27 Float r = sqrt(sqr(x[0])+sqr(x[1])+sqr(x[2]));
28 return (
n == 2) ? 4 :
n*
n*pow(
r,
n-2);
35 Float r = sqrt(sqr(x[0])+sqr(x[1])+sqr(x[2]));
see the Float page for the full documentation
see the point page for the full documentation
point operator()(const point &x) const
point operator()(const point &x) const