IT++ Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
commfunc.h
Go to the documentation of this file.
1 
29 #ifndef COMMFUNC_H
30 #define COMMFUNC_H
31 
32 #include <itpp/base/mat.h>
33 #include <itpp/base/vec.h>
34 
35 
36 namespace itpp
37 {
38 
47 bmat graycode(int m);
48 
53 int hamming_distance(const bvec &a, const bvec &b);
54 
59 int weight(const bvec &a);
60 
81 vec waterfilling(const vec& alpha, double P);
82 
83 } // namespace itpp
84 
85 #endif // #ifndef COMMFUNC_H
SourceForge Logo

Generated on Fri Mar 21 2014 17:14:13 for IT++ by Doxygen 1.8.1.2