[R] norm of complex number

Martin Maechler maechler at stat.math.ethz.ch
Mon Mar 15 21:03:16 CET 2004


>>>>> "Frank" == Frank Gerrit Zoellner <fzoellne at techfak.uni-bielefeld.de>
>>>>>     on Mon, 15 Mar 2004 16:31:58 +0100 writes:

    Frank> Hi!  I want o calc the norm of a complex number ( |c|
    Frank> where c is complex). Does the function abs() this ?

Yes, it does - and help(abs) will tell you so in the next
version of R.

For complex numbers, the more usual function name is Mod().

Regards,
Martin Maechler




More information about the R-help mailing list