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 
00047   bmat graycode(int m);
00048 
00053   int hamming_distance(const bvec &a, const bvec &b);
00054 
00059   int weight(const bvec &a);
00060 
00081   vec waterfilling(const vec& alpha, double P);
00082 
00083 } // namespace itpp
00084 
00085 #endif // #ifndef COMMFUNC_H
SourceForge Logo

Generated on Sat Apr 19 10:41:56 2008 for IT++ by Doxygen 1.5.5