complex.mag
Returns the magnitude of the complex number
Args
self
(T
) - The input complex number
Returns
A fixed point number '', representing the magnitude of the complex number. 'mag(z) = sqrt(a^2 + b^2)'.
Examples
Last updated
Was this helpful?