1 #ifndef NPSTAT_CIRCULARMAPPER1D_HH_ 2 #define NPSTAT_CIRCULARMAPPER1D_HH_ 45 inline double a()
const {
return a_; }
46 inline double b()
const {
return b_; }
54 "In npstat::CircularMapper1d constructor: " 55 "invalid period argument (can not be 0)");
64 #endif // NPSTAT_CIRCULARMAPPER1D_HH_ CircularMapper1d(const double ca, const double cb, const double cperiod)
Linear transformation functor.
Abs< T >::type abs(const T &t)
CircularMapper1d(const LinearMapper1d &mapper, const double cperiod)
LinearMapper1d linearMapper() const
double operator()(const double &x) const