1Constants(3)          User Contributed Perl Documentation         Constants(3)
2
3
4

NAME

6       PDL::Constants -- basic compile time constants for PDL
7

DESCRIPTION

9       This module is used to define compile time constant values for PDL.  It
10       uses the constant module for simplicity and availability.  We'll need
11       to sort out exactly which constants make sense but PI and E seem to be
12       fundamental.
13

SYNOPSIS

15        use PDL::Constants qw(PI E);
16        print 'PI is ' . PI . "\n";
17        print 'E  is ' .  E . "\n";
18
19   PI
20       The ratio of a circle's circumference to its diameter
21
22   DEGRAD
23       The The number of degrees of arc per radian (180/PI)
24
25   E
26       The base of the natural logarithms or Euler's number
27
28   I
29       The imaginary unit, " I*I == -1 "
30
31   J
32       The imaginary unit for engineers, " J*J == -1 "
33
35       Copyright 2010 Chris Marshall (chm at cpan dot org).
36
37       This program is free software; you can redistribute it and/or modify it
38       under the terms of either: the GNU General Public License as published
39       by the Free Software Foundation; or the Artistic License.
40
41       See http://dev.perl.org/licenses/ for more information.
42
43
44
45perl v5.28.0                      2018-05-05                      Constants(3)
Impressum