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