math (pmrf.math)
Core maths functions.
Modules
Aggregations of arrays (vectors, tensors) into lower dimensions. |
|
Common loss functions for optimization. |
Functions
Return the magnitude of the complex argument. |
|
|
Return the magnitude in dB of a complex number (as \(20\log_{10}(|z|)\)). |
Return the magnitude in dB of a complex number (as \(10\log_{10}(|z|)\)). |
|
Return the angle complex argument in radian. |
|
Returns the angle complex argument in degrees. |
|
Take a complex number and returns quadrature, which is (length, arc-length from real axis). |
|
Return real and imaginary parts of a complex number. |
|
Break up a complex array into all possible scalar components. |
|
|
Convert linear magnitude to dB. |
|
Convert linear magnitude to dB. |
|
Convert linear magnitude to dB (factor 10). |
Convert dB to linear magnitude. |
|
|
Convert dB to linear magnitude. |
|
Convert dB (factor 10) to linear magnitude. |
|
Convert linear magnitude and phase (in deg) arrays into a complex array. |
|
Convert dB magnitude and phase (in deg) arrays into a complex array. |
|
Convert a value in decibel (dB) to neper (Np). |
|
Convert a value in Nepers (Np) to decibel (dB). |
|
Convert angles from radians to degrees. |
|
Convert angles from degrees to radians. |
|
Convert length in feet to meter. |
|
Convert length in meter to feet. |
Convert attenuation values given in dB/100ft to dB/100m. |
|
|
Convert polar coordinates to rectangular (complex) coordinates. |
|
Convert rectangular (complex) coordinates to polar coordinates. |
Take the square root of a complex number with unwrapped phase. |
|
|
Make a function f(scalar) into f(complex). |