comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Re: IDL trig functions

Re: IDL trig functions
type: item
description: 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
creator: thompson
date: 1994-09-01T22:56:29-00:00

Re: IDL trig functions
type: item
description: In article <3454vl$1kbp@yuma.ACNS.ColoState.EDU> dean%phobos.dnet@sirius.cira.colostate.edu writes: > > Are there IDL equilivents to the following FORTRAN trig double precision > intrinsic functions? > > DSIN() > DCOS() > DTAN() > DATAN() > ATAN2() > DATAN2() > > Kelly Dean The IDL functions SIN,ASIN,COS,ACOS,TAN, and ATAN will return a double precision result if their arguments are of double precision. In general these functions return results which are of the same type as their arguments. ratty Indiana University School of Medicine -- This is my .sig file and not yours...
creator: amaravad
date: 1994-09-02T19:09:57-00:00