Functions | |
double | simth::arg (const Complex &comp) |
int | simth::inversePower2 (int x) |
double | simth::db2linearPowerRatio (double snr) |
double | simth::db2reciprocalLinearPowerRatio (double snr) |
|
Returns the argument (phase) of the given complex number in the range from 0 to 2pi. Note that the corresponging function of the standard library returns the argument in the range from -pi to pi. |
|
Returns |
|
Returns the linear power ratio for the power ratio given in dB as argument: |
|
Returns the inverse linear power ratio for the power ratio given in dB as argument: |