home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / fortran / 4432 < prev    next >
Encoding:
Text File  |  1992-11-23  |  1.1 KB  |  26 lines

  1. Newsgroups: comp.lang.fortran
  2. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!uwm.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uimrl7.mrl.uiuc.edu!ercolessi
  3. From: ercolessi@uimrl3.mrl.uiuc.edu (furio ercolessi)
  4. Subject: Re: a question on ATAN function
  5. References:  <dedmunds.722548228@sfu.ca>
  6. Message-ID: <By6v1E.LsB@news.cso.uiuc.edu>
  7. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  8. Reply-To: ercolessi@uimrl3.mrl.uiuc.edu (furio ercolessi)
  9. Organization: MRL - UIUC
  10. Date: Mon, 23 Nov 1992 21:43:59 GMT
  11. Lines: 13
  12.  
  13. In article <dedmunds.722548228@sfu.ca>, dedmunds@selkirk.sfu.ca (Darran Edmundson) writes:
  14. |>I'd like to pose a neophyte question on using the arctan function to
  15. |>calculate the phase angle of a complex variable (i.e. \theta = atan(v/u)
  16. |>where u and v are the real and complex parts of my imaginary number
  17. |>respectively). 
  18.  
  19. atan2, which takes u and v as two separate arguments, is what
  20. you want!
  21. --
  22. Furio Ercolessi
  23. Materials Research Laboratory           |   Intl School for Advanced Studies
  24. Univ. of Illinois at Urbana-Champaign   |   Trieste, Italy
  25. furio@uiuc.edu                          |   furio@sissa.it
  26.