Definition at line 12 of file Equals.h. Referenced by Impala::Core::Feature::TestRandomTree::testTableConversion(). 00013 { 00014 if(v1.size() != v2.size()) 00015 return false; 00016 for(int i=0 ; i<v1.size() ; ++i) 00017 { 00018 if(abs(v1[i] - v2[i]) < tolerance) 00019 return false; 00020 } 00021 return true; 00022 }
|