41 #ifndef mia_1d_interpolator_hh
42 #define mia_1d_interpolator_hh
85 virtual T operator () (
const double& x)
const = 0;
92 virtual typename coeff_map<T>::coeff_type derivative_at (
const double& x)
const = 0;
132 virtual typename coeff_map<T>::coeff_type
derivative_at (
const double& x)
const;
136 typedef std::vector< typename coeff_map< T >::coeff_type >
TCoeff1D;
186 __attribute__ ((warn_unused_result));
209 __attribute__ ((warn_unused_result));
223 template <
typename T>
224 struct __dispatch_min_max {
225 static void apply(
const T i, T& min, T &max);
232 template <
typename I,
typename O>
233 struct __dispatch_copy {
234 static void apply(
const I& input, O& output);