9static double eval_abs (
double a) {
return (a < 0) ? -a : a; }
10static double eval_min (
double a,
double b) {
return (a < b) ? a : b; }
11static double eval_max (
double a,
double b) {
return (a > b) ? a : b; }
12static double eval_sqrt (
double a) {
return std::sqrt(a); }
13static double eval_pow (
double a,
double b) {
return std::pow(a,b); }
14static double eval_sin (
double a) {
return std::sin(a); }
15static double eval_cos (
double a) {
return std::cos(a); }
16static double eval_tan (
double a) {
return std::tan(a); }
17static double eval_asin (
double a) {
return std::asin(a); }
18static double eval_acos (
double a) {
return std::acos(a); }
19static double eval_atan (
double a) {
return std::atan(a); }
20static double eval_atan2(
double a,
double b) {
return std::atan2(a,b); }
21static double eval_sinh (
double a) {
return std::sinh(a); }
22static double eval_cosh (
double a) {
return std::cosh(a); }
23static double eval_tanh (
double a) {
return std::tanh(a); }
24static double eval_exp (
double a) {
return std::exp(a); }
25static double eval_log (
double a) {
return std::log(a); }
26static double eval_log10(
double a) {
return std::log10(a); }