Math-Trig

Math::Trig(3p) Perl Programmers Reference Guide Math::Trig(3p)

Math-Trig

Math::Trig(3p) Perl Programmers Reference Guide Math::Trig(3p) # Math::Trig(3p) Perl Programmers Reference Guide Math::Trig(3p) NNAAMMEE # Math::Trig - trigonometric functions SSYYNNOOPPSSIISS # use Math::Trig; $x = tan(0.9); $y = acos(3.7); $z = asin(2.4); $halfpi = pi/2; $rad = deg2rad(120); # Import constants pi2, pip2, pip4 (2*pi, pi/2, pi/4). use Math::Trig ':pi'; # Import the conversions between cartesian/spherical/cylindrical. use Math::Trig ':radial'; # Import the great circle formulas. use Math::Trig ':great_circle'; DDEESSCCRRIIPPTTIIOONN # "Math::Trig" defines many trigonometric functions not defined by the core Perl which defines only the "sin()" and "cos()". ...