1PDL(3) User Contributed Perl Documentation PDL(3)
2
3
4
6 PDL - the Perl Data Language
7
9 (For the exported PDL constructor, pdl(), see PDL::Core or pdl[2])
10
11 PDL is the Perl Data Language, a perl extension that is designed for
12 scientific and bulk numeric data processing and display. It extends
13 perl's syntax and includes fully vectorized, multidimensional array
14 handling, plus several paths for device-independent graphics output.
15
16 For basic information on the PDL language, see the pdl(1) (lowercase)
17 man page.
18
19 You can run PDL programs directly as perl scripts that include the PDL
20 module (with "use PDL;"), or via an interactive shell (see the
21 perldl(1) man page).
22
23 The PDL language extension includes about a dozen perl modules that
24 form the core of the language, plus additional modules that add further
25 functionality. The perl module "PDL" loads all of the core modules
26 automatically, making their functions available in the current perl
27 namespace. See also PDL::Lite or PDL::LiteF if start-up time becomes
28 an issue.
29
30 EXPORTS:
31 "use PDL;" exports a large number of routines into the calling
32 namespace. If you want to avoid namespace pollution, you must
33 instead "use PDL::Lite", and include any additional modules
34 explicitly.
35
36 NICESLICE:
37 Note that the PDL::NiceSlice syntax is NOT automatically loaded by
38 "use PDL;". If you want to use the extended slicing syntax in a
39 standalone script, you must also say "use PDL::NiceSlice;".
40
41 PDL::Math:
42 The PDL::Math module has been added to the list of modules for
43 versions later than 2.3.1. Note that PDL::Math is still not included
44 in the Lite and LiteF start-up modules.
45
47 use PDL; # Is equivalent to the following:
48
49 use PDL::Core;
50 use PDL::Ops;
51 use PDL::Primitive;
52 use PDL::Ufunc;
53 use PDL::Basic;
54 use PDL::Slices;
55 use PDL::Bad;
56 use PDL::MatrixOps;
57 use PDL::Math;
58 use PDL::Version;
59 use PDL::IO::Misc;
60 use PDL::IO::FITS;
61 use PDL::IO::Pic;
62 use PDL::Lvalue;
63
64
65
66perl v5.12.3 2010-01-01 PDL(3)