Functions | |
| bmat | itpp::graycode (int m) |
Generate Gray code of blocklength m.The codes are contained as binary codewords {0,1} in the rows of the returned matrix. See also the gray() function in math/scalfunc.h. | |
| int | itpp::hamming_distance (const bvec &a, const bvec &b) |
| Calculate the Hamming distance between a and b. | |
| int | itpp::weight (const bvec &a) |
| Calculate the Hamming weight of a. | |
| vec | itpp::waterfilling (const vec &alpha, double P) |
| Compute the water-filling solutionThis function computes the solution of the water-filling problem
subject to
| |
Compute the water-filling solutionThis function computes the solution of the water-filling problem
subject to
.
| alpha | vector of gains (must have strictly positive elements) | |
| P | power constraint |

The computational complexity of the method is
at most
Generated on Wed Jan 20 23:03:08 2010 for IT++ by Doxygen 1.6.2