00001
00002 #ifndef RESCALED_RANGE_H
00003 #define RESCALED_RANGE_H
00004
00005 #include <math.h>
00006
00007 #include <vector>
00008
00009 #include "hurst_base.h"
00010
00015 class rescaled_range : public hurst_base
00016 {
00017 private:
00018 double calc_mean_( const double *v, const size_t N);
00019 double calc_RS_( const double *v,
00020 const size_t N );
00021
00022 double calc_RS_ave_( const double *v,
00023 const size_t N,
00024 const size_t box_size );
00025
00026 public:
00027
00028 void calc_hurst_est( const double *v,
00029 const size_t N,
00030 hurst_base::hurstInfo &info );
00031 };
00032
00033 #endif