1 #ifndef ARRCMP_H 2 #define ARRCMP_H 3 4 #include "SmartPtr.h" 5 #include <vector> 6 #include "DDaceSamplePoint.h" 7 8 9 int Arrcmp_d( std::vector<double>& a, std::vector<double>& b ); 10 11 int Arrcmp_d_est( std::vector<double>& a, 12 std::vector<double>& b, 13 const float errlim ); 14 15 int Arrcmp_i( std::vector<std::vector<int> >& a, 16 std::vector<std::vector<int> >& b ); 17 18 int Arrcmp_ad( std::vector<DDaceSamplePoint>& a, 19 std::vector< std::vector<double> >& b ); 20 21 int Arrcmp_ad_est( std::vector<DDaceSamplePoint>& a, 22 std::vector< std::vector<double> >& b, 23 const float errlim ); 24 25 int DDaceSamplePoint_cmp( const DDaceSamplePoint& a, 26 const DDaceSamplePoint& b ); 27 28 // itoa is a native windows function 29 #ifndef _MSC_VER 30 void itoa( int n, char buf[], const int size ); 31 #endif 32 33 bool closeEnough( double a, double b, const float errlim ); 34 35 36 #endif 37