PDL::Tutorials(3pm)
β¨ PDL::Tutorials β¨
okay bestie, welcome to PDL::Tutorials π β it's the master guide to all of PDL's tutorial documentation. Think of it as the table of contents for your entire PDL journey, from "what even is this" all the way to "I have transcended". This is part of the User Contributed Perl Documentation crew and it's literally just vibes + pointers, no cap. π¦
π MIGRATION π
so you're coming from another numerical-analysis situation and you're like "where's my stuff"? don't panic. these are our migration guides for users familiar with other types of numerical analysis software. π«Ά
PDL::Guide::Migration::NumPyβ the migration guide for NumPy users π. this page explains the key differences between NumPy and PDL from the point of view of a NumPy user. it's giving "we get it, you missnumpy".PDL::Guide::Migration::MATLABβ the migration guide for MATLAB users π. this page explains the key differences between MATLAB and PDL from the point of view of a MATLAB user.PDL::Guide::Migration::Scilabβ the migration guide for Scilab users πΈ. this page explains the key differences between Scilab and PDL from the point of view of a Scilab user.
π± FOUNDATION π±
start here, queen. these are the building blocks π
PDL::Philosophyβ why did we even write PDL?? this document explains some of the history and motivation behind the Perl Data Language β¨. it is an attempt to answer the question "Why PDL?".PDL::QuickStartβ quick introduction to PDL features π₯. a hands-on guide suitable for complete beginners. this page assumes no previous knowledge of Perl or PDL. zero. none. we got you.PDL::Indexingβ after you have read the QuickStart guide, you should follow up with this document π. this guide goes more deeply into the concepts of "indexing" and "slicing" and how they form the core of numerical analysis with PDL.
π INTERMEDIATE π
you're growing, bestie, i'm so proud π
PDL::Broadcastingβ broadcasting is one of PDL's most powerful features π. if you know MATLAB, you've heard of "vectorizing". well, broadcasting is like "vectorizing on steroids" π . it lets you make very fast and compact code by avoiding nested loops. all vector-based languages do this, but PDL generalizes the technique to all sorts of applications.
this tutorial introduces PDL's broadcasting feature, and it shows an example implementing Conway's Game of Life in 10 lines and 80 times faster than a classical implementation π₯π₯π₯
PDL::BadValuesβ sometimes it is useful to specify that a certain value is "bad" or "missing" π. scientific instruments some times include portions of invalid data. for example, a CCD camera might produce an image with over-exposed pixels. PDL's "bad values" feature gives you an easy way to deal with this sort of imperfect data π.PDL::Tipsβ tips and suggestions for using PDL π‘. this page is an assorted collection of programming tidbits that some PDL users have found useful. some of these tips might be of help when you write your programs.
π§ ADVANCED π§
the deep end. main character energy only. β
PDL::PPβ PDL's Pre-Processor is one of PDL's most powerful features π. you write a function definition in special markup and the preprocessor generates real C code which can be compiled. withPDL:PPyou get the full speed of native C code without having to deal with the full complexity of the C language.PDL::APIβ a simple cookbook explaining how to create ndarray manually π, either from Perl or from C/XS code. this page covers the PDL core routines that comprise the PDL API. if you need to access ndarrays from C/XS, this is the document for you.PDL::Internalsβ description of the inner workings of the PDL module π§ . very few people need to see this. this page is mainly for PDL developers, or people interested in debugging PDL or changing the internals of PDL. if you can read this document and understand all of it, and you additionally understandPDL::PP, you will be awarded the title of "PDL Guru" πβ¨π
π COPYRIGHT π
Copyright 2010 Daniel Carrera (dcarrera@gmail.com). You can distribute and/or modify this document under the same terms as the current Perl license.
See: http://dev.perl.org/licenses/
and that's the whole tour, bestie π«Ά go forth and slay. periodt. π
this page was served to you by perl v5.42.3, dated 2026-08-20. PDL::Tutorials(3pm) β mwah, no notes πβ¨
π¦ where this page comes from
- ubuntu stonking: pdl 1:2.106-1build1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms