> "Frank" == Frank Gerrit Zoellner <[EMAIL PROTECTED]>
> 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
Not abs(), but Mod(). See ?complex.
HTH,
Andy
> From: Frank Gerrit Zoellner
>
> Hi!
>
> I want o calc the norm of a complex number ( |c| where c is
> complex). Does the function abs() this ?
>
> Thanks,
> --
> Frank G. Zoellner
> AG Angewandte Informatik
> Technische Fakult"at
> Universit"a
?complex reveals "Mod":
> Mod(1+1i)
[1] 1.414214
>
hope this helps. spencer graves
p.s. help.search("complex") reveals "complex", etc.
Frank Gerrit Zoellner wrote:
Hi!
I want o calc the norm of a complex number ( |c| where c is complex). Does the function abs() this ?
Thanks,
_
"abs" also works (in R 1.8.1 under Windows 2000), as we see just
by trying it:
abs(1+1i) = 1.414214
hope this helps. spencer graves
Prof Brian Ripley wrote:
That's called the modulus, and computed by function Mod().
On Mon, 15 Mar 2004, Frank Gerrit Zoellner wrote:
I want
That's called the modulus, and computed by function Mod().
On Mon, 15 Mar 2004, Frank Gerrit Zoellner wrote:
> I want o calc the norm of a complex number ( |c| where c is complex).
> Does the function abs() this ?
--
Brian D. Ripley, [EMAIL PROTECTED]
Professor of Applied Stati
Hi!
I want o calc the norm of a complex number ( |c| where c is complex). Does the
function abs() this ?
Thanks,
--
Frank G. Zoellner
AG Angewandte Informatik
Technische Fakult"at
Universit"at Bielefeld
phone: +49(0)521-106-2951
fax: +49(0)521-106-2992
email: [EMAIL PROTECTED]
__