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 Thu Aug 30 02:47:19 2007 for IT++ by Doxygen 1.5.3