IT++ Logo

commfunc.h

Go to the documentation of this file.
00001 
00030 #ifndef COMMFUNC_H
00031 #define COMMFUNC_H
00032 
00033 #include <itpp/base/mat.h>
00034 #include <itpp/base/vec.h>
00035 
00036 
00037 namespace itpp
00038 {
00039 
00048 bmat graycode(int m);
00049 
00054 int hamming_distance(const bvec &a, const bvec &b);
00055 
00060 int weight(const bvec &a);
00061 
00082 vec waterfilling(const vec& alpha, double P);
00083 
00084 } // namespace itpp
00085 
00086 #endif // #ifndef COMMFUNC_H
SourceForge Logo

Generated on Sun Jul 26 08:54:55 2009 for IT++ by Doxygen 1.5.9