27 Float r = sqrt(sqr(x[0])+sqr(x[1])+sqr(x[2]));
28 Float sin_over_ar = (
r == 0) ? 1 : sin(
a*
r)/(
a*
r);
29 return sqr(
a)*((
d-1)*sin_over_ar + cos(
a*
r)); }
35 return cos(
a*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