Mod_cpp | R Documentation |
Computes the value of the Modulus.
Mod_cpp(x)
x |
A |
Consider a complex number defined as: z = x + i y with real x and y, The modulus is defined as: r = Mod(z) = √{(x^2 + y^2)}
A vec
containing the modulus for each element.
Mod_cpp(c(1+.5i, 2+1i, 5+9i))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.