Math::Trig

Useful trigonometric routines

Math::Trig

Provides subroutines for coverting between degrees, radians, and gradians; converting between different coordinate systems (cartesian, spherical, cylindrical); and great circle formulas.

Also provides versions of the common trigonemetric functions that take or return their arguments in degrees:

sind
cosd
tand
asind
acosd
atand
atan2d

There are also some useful constants defined:

pi2 = pi/2;
pi4 = pi/4;
_2pi = pi*2;
_4pi = pi*4;

SYNOPSIS

use Math::Trig;      # no trigonometric functions exported
use Math::Trig :ALL; # includes the trig functions

INSTALLATION

zef install Math::Trig

BUGS

  • This is a work in progress. Caveat emptor.

AUTHORS

  • Tom Browder ([email protected]) [from 2020-02-14]

  • Original author: the late Jonathan Scott Duff <@perlpilot>, RIP

LICENSE

Artistic 2.0. See that license here.

COPYRIGHT

Copyright Ā© 2019-2022 by Tom Browder.

Copyright Ā© 2015 by Jonathan Scott Duff.

ACKNOWLEDGEMENTS

Jonathan Duff's words: "This module is shamelessly based on the Perl 5 module of the same name. Without the authors and maintainers of that module, this module wouldn't exist in this form."

Math::Trig v0.5.1

Useful trigonometric routines

Authors

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • Math::Trig

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.

Built with Podlite — the markup and publishing tools behind this site.