Go to the documentation of this file.
34 #include <itpp/itexports.h>
59 ITPP_EXPORT
int weight(
const bvec &a);
81 ITPP_EXPORT vec
waterfilling(
const vec& alpha,
double P);
85 #endif // #ifndef COMMFUNC_H
int hamming_distance(const bvec &a, const bvec &b)
Calculate the Hamming distance between a and b.
Mat< bin > bmat
bin matrix
bmat graycode(int m)
Generate Gray code of blocklength m.
Matrix Class Definitions.
vec waterfilling(const vec &alpha, double P)
Compute the water-filling solution.
Templated Vector Class Definitions.
int weight(const bvec &a)
Calculate the Hamming weight of a.
Generated on Sun Jan 3 2021 11:31:33 for IT++ by Doxygen 1.8.20