Waterfilling algorithm (from [Palomar and Fonollosa, Trans-SP2004]) to compute:
pi = (mu*ai - bi)^+
sum(pi) = Pt
By Daniel Perez Palomar (last revision: May 10, 2004).
A collection of LDPC(Low-Density Parity-Codes) tools. Including: Code construction Density Evolution Decoding Algorithm Girth average Counter Stopping set and error Floor,etc