comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDL trig functions
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL trig functions [message #2890 is a reply to message #2881] Thu, 01 September 1994 15:56 Go to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
dean@phobos.cira.colostate.edu writes:


> Are there IDL equilivents to the following FORTRAN trig double precision
> intrinsic functions?

> DSIN()
> DCOS()
> DTAN()
> DATAN()
> ATAN2()
> DATAN2()

IDL functions are generic. You can use any of the trigonometric functions with
either single or double precision arguments, and the precision of the result is
the same as the precision of the argument. (If you give them integer
arguments, you get a floating point result, which makes sense.) You can even
give them complex arguments and get a complex result.

The ATAN function in IDL can take either 1 or 2 arguments, so it fulfills the
role of both ATAN and ATAN2 in FORTRAN (as well as DATAN and DATAN2).

Bill Thompson
[Message index]
 
Read Message
Read Message
Previous Topic: background jobs in IDL.....
Next Topic: Re: background jobs in IDL.....

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Nov 30 21:35:16 PST 2025

Total time taken to generate the page: 0.00998 seconds