00001 00033 #ifndef COMMFUNC_H 00034 #define COMMFUNC_H 00035 00036 #include <itpp/base/mat.h> 00037 #include <itpp/base/vec.h> 00038 00039 00040 namespace itpp { 00041 00050 bmat graycode(int m); 00051 00056 int hamming_distance(const bvec &a, const bvec &b); 00057 00062 int weight(const bvec &a); 00063 00064 } // namespace itpp 00065 00066 #endif // #ifndef COMMFUNC_H
Generated on Wed Apr 18 11:19:59 2007 for IT++ by Doxygen 1.5.2