Go to the documentation of this file.
34#include <itpp/itexports.h>
59ITPP_EXPORT
int weight(
const bvec &a);
vec waterfilling(const vec &alpha, double P)
Compute the water-filling solution.
int weight(const bvec &a)
Calculate the Hamming weight of a.
bmat graycode(int m)
Generate Gray code of blocklength m.
int hamming_distance(const bvec &a, const bvec &b)
Calculate the Hamming distance between a and b.
Matrix Class Definitions.
Mat< bin > bmat
bin matrix
Templated Vector Class Definitions.
Generated on Tue Aug 17 2021 10:59:15 for IT++ by Doxygen 1.12.0