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