perldoc perlfunc
atan2 Y,X
Returns the arctangent of Y/X in the range -pi to
pi.
For the tangent operation, you may use the
Math::Trig::tan function, or use the familiar
relation:
sub tan { sin($_[0]) /
on Mon, 22 Apr 2002 19:20:23 GMT, Siren Jones wrote:
Trying to figure out what the inverse tangent function is...
(as in FORTRAN arctan)
[...]
Any suggestions on either the function or where to look up math
functions for PERl? Couldn't find it in Programming PERL, by
O'reilly.
It's as
Hi. Siren
atan2 expects two arguments, x and y as stated in
http://www.perldoc.com/perl5.6.1/pod/func/atan2.html#top .
regards
Ricardo Derbes
Altec SE
AlbarracĂn 157 - San Carlos de Bariloche
+54-2944-426892
[EMAIL PROTECTED]
- Original Message -
From: siren jones [EMAIL PROTECTED]
To:
Expecting form of atan2(y,x)
Wags ;)
-Original Message-
From: siren jones [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 22, 2002 12:20
To: [EMAIL PROTECTED]
Subject: Inverse tangent function?
Trying to figure out what the inverse tangent function is...
(as in FORTRAN arctan)