pub fn water_filling_powers(gains: &[f64], total_power: f64) -> Result<Vec<f64>>Expand description
The water-filling powers of parallel channels of gains gains (SNR per unit
power) under the total power total_power.
ยงErrors
Error::Config for a negative gain or a non-positive power.