IT++ Logo Newcom Logo

commfunc.h

Go to the documentation of this file.
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
SourceForge Logo

Generated on Fri Jun 8 00:27:15 2007 for IT++ by Doxygen 1.5.2