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 Perl's constant pragma for simplicity and availability.
11

SYNOPSIS

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