00001 00002 #ifndef series_parabolic_h 00003 #define series_parabolic_h 00004 00005 // ======================================================================= 00006 00007 #include "sxy_vector.h" 00008 #include "sxy_series_coef.h" 00009 00010 // ======================================================================= 00011 00016 class SXYParabolicSeries : public SXYCoeficientsAproximationSeries { 00017 00018 protected: 00019 00020 unsigned int calculateCoeficients(unsigned int n, 00021 double* buffer_x, double* buffer_y); 00022 00023 public: 00024 00025 // Ajuste de valor log. 00026 virtual unsigned int aproxFunctionCallback(double x, double& y); 00027 00028 // Construtor e destrutor 00029 virtual ~SXYParabolicSeries(); 00030 SXYParabolicSeries(unsigned int buffer_size=200, 00031 unsigned int resolution=100); 00032 }; 00033 00034 #endif 00035