1TUTORIALS(1) User Contributed Perl Documentation TUTORIALS(1)
2
3
4
6 PDL::Tutorials - A guide to PDL's tutorial documentation.
7
9 These are our migration guides for users familiar with other types of
10 numerical analysis software.
11
12 PDL::MATLAB
13 Migration guide for MATLAB users. This page explains the key
14 differences between MATLAB and PDL from the point of view of a
15 MATLAB user.
16
17 PDL::Scilab
18 Migration guide for Scilab users. This page explains the key
19 differences between Scilab and PDL from the point of view of a
20 Scilab user.
21
23 PDL::Philosophy
24 Why did we write PDL? This document explains some of the history
25 and motivation behind the Perl Data Language. It is an attempt to
26 answer the question "Why PDL?".
27
28 PDL::QuickStart
29 Quick introduction to PDL features. A hands-on guide suitable for
30 complete beginners. This page assumes no previous knowledge of
31 Perl or PDL.
32
33 PDL::Indexing
34 After you have read the QuickStart guide, you should follow up
35 with this document. This guide goes more deeply into the concepts
36 of "indexing" and "slicing" and how they form the core of
37 numerical analysis with PDL.
38
40 PDL::Broadcasting
41 Broadcasting is one of PDL's most powerful features. If you know
42 MATLAB, you've heard of "vectorizing". Well, broadcasting is like
43 "vectorizing on steroids". It lets you make very fast and compact
44 code by avoiding nested loops. All vector-based languages do this,
45 but PDL generalizes the technique to all sorts of applications.
46
47 This tutorial introduces PDL's broadcasting feature, and it shows
48 an example implementing Conway's Game of Life in 10 lines and 80
49 times faster than a classical implementation.
50
51 PDL::BadValues
52 Sometimes it is useful to specify that a certain value is "bad" or
53 "missing". Scientific instruments some times include portions of
54 invalid data. For example, a CCD camera might produce an image
55 with over-exposed pixels. PDL's "bad values" feature gives you an
56 easy way to deal with this sort of imperfect data.
57
58 PDL::Tips
59 Tips and suggestions for using PDL. This page is an assorted
60 collection of programming tidbits that some PDL users have found
61 useful. Some of these tips might be of help when you write your
62 programs.
63
65 PDL::PP
66 PDL's Pre-Processor is one of PDL's most powerful features. You
67 write a function definition in special markup and the preprocessor
68 generates real C code which can be compiled. With PDL:PP you get
69 the full speed of native C code without having to deal with the
70 full complexity of the C language.
71
72 PDL::API
73 A simple cookbook explaining how to create ndarray manually,
74 either from Perl or from C/XS code. This page covers the PDL core
75 routines that comprise the PDL API. If you need to access ndarrays
76 from C/XS, this is the document for you.
77
78 PDL::Internals
79 Description of the inner workings of the PDL module. Very few
80 people need to see this. This page is mainly for PDL developers,
81 or people interested in debugging PDL or changing the internals of
82 PDL. If you can read this document and understand all of it, and
83 you additionally understand PDL::PP, you will be awarded the title
84 of "PDL Guru".
85
87 Copyright 2010 Daniel Carrera (dcarrera@gmail.com). You can distribute
88 and/or modify this document under the same terms as the current Perl
89 license.
90
91 See: http://dev.perl.org/licenses/
92
93
94
95perl v5.36.0 2023-01-20 TUTORIALS(1)