00001 #ifndef INTERPOLATOR_1_H 00002 #define INTERPOLATOR_1_H 00003 00004 #include "interpolator.h" 00005 #include "element.h" 00006 00007 namespace afl 00008 { 00009 00015 class Interpolator_1 : public Interpolator 00016 { 00018 protected: 00024 Interpolator_1( const Field* f, const Parameters& params ); 00025 00033 virtual Element<1> findElement( data_t x ) const throw(exc::OutOfBoundsException); 00034 00035 private: 00043 virtual size_t find_u1( data_t x, size_t from, size_t to ) const; 00044 }; 00045 00046 }; 00047 00048 #endif // INTERPOLATOR_1_H