[R] norm of complex number

Spencer Graves spencer.graves at pdf.com
Mon Mar 15 19:30:50 CET 2004


?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,
>  
>




More information about the R-help mailing list