PDLA::Constants -- basic compile time constants for PDLA
This module is used to define compile time constant values for PDLA. It uses the constant module for simplicity and availability. We'll need to sort out exactly which constants make sense but PI and E seem to be fundamental.
use PDLA::Constants qw(PI E); print 'PI is ' . PI . "\n"; print 'E is ' . E . "\n";
The ratio of a circle's circumference to its diameter
The The number of degrees of arc per radian (180/PI)
The base of the natural logarithms or Euler's number
The imaginary unit, I*I == -1
I*I == -1
The imaginary unit for engineers, J*J == -1
J*J == -1
Copyright 2010 Chris Marshall (chm at cpan dot org).
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install PDLA::Core, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PDLA::Core
CPAN shell
perl -MCPAN -e shell install PDLA::Core
For more information on module installation, please visit the detailed CPAN module installation guide.