20 return lower + 0.5*(upper - lower)*(
std::sin(value) + 1.);
29 double vlimhi = piby2 - distnn;
30 double vlimlo = -piby2 + distnn;
32 double yy = 2.*(value - lower)/(upper - lower) - 1.;
34 if(yy2 > (1. - 8 * eps) ) {
52 return 0.5*((upper - lower)*
std::cos(value));
61 double val = lower - 1. +
std::sqrt( value*value + 1.);
68 double yy = value - lower + 1.;
78 double val = value/(
std::sqrt( value*value + 1.) );
87 double val = upper + 1. -
std::sqrt( value*value + 1.);
94 double yy = upper - value + 1.;
95 double arg = yy*yy - 1;
102 double val = - value/(
std::sqrt( value*value + 1.) );
Namespace for new Math classes and functions.