powered by
Computes the value of the Modulus.
Mod_cpp(x)
A vec containing the modulus for each element.
vec
A cx_vec.
cx_vec
Consider a complex number defined as: \(z = x + i y\) with real \(x\) and \(y\), The modulus is defined as: \(r = Mod(z) = \sqrt{(x^2 + y^2)}\)