TUTORIALS(1p)
π TUTORIALS(1p) β the PDL tutorial tour, bestie edition π
okay so this is PDL::Tutorials, a guide to PDL's tutorial documentation. it lives in the User Contributed Perl Documentation section of the manual, and honestly? it's the group chat you wanna be in. π¦
β¨ NAME β¨
PDL::Tutorials β A guide to PDL's tutorial documentation. that's it, that's the whole vibe. it's a map of all the tutorials. π
π MIGRATION π
so like, you already know some other numerical analysis software and you're lowkey thinking about switching? these are the migration guides for you, fr fr. π§
PDL::MATLAB
migration guide for MATLAB users, no cap. this page explains the key differences between MATLAB and PDL, told from the point of view of a MATLAB user. so it's literally written by someone who gets you. π
PDL::Scilab
migration guide for Scilab users. this page explains the key differences between Scilab and PDL, from the point of view of a Scilab user. same energy, different software. π
π§± FOUNDATION π§±
start here if you're baby. no shame, everyone starts somewhere. πΌ
PDL::Philosophy
why did we even write PDL?? this document spills some of the history and the motivation behind the Perl Data Language. it's an attempt to answer the question "Why PDL?" β and honestly, iconic question. π
PDL::QuickStart
quick introduction to PDL features! a hands-on guide that's suitable for complete beginners. this page assumes no previous knowledge of Perl or PDL at all. zero. none. you're safe here. π«Ά
PDL::Indexing
after you've read the QuickStart guide, you should follow up with this one. this guide goes more deeply into the concepts of "indexing" and "slicing", and how they form the core of numerical analysis with PDL. so like, do QuickStart first, okay? don't skip. π€
π INTERMEDIATE π
you've got the basics, now we're cooking. π₯
PDL::Broadcasting
broadcasting is one of PDL's most powerful features, periodt. 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. it's giving glow-up. β¨
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. TEN LINES. ate and left no crumbs. π
PDL::BadValues
sometimes it's 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. it's okay bestie, data can be messy, we still love it. π
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. little snack-sized wisdom, yum. π
π§ ADVANCED π§
okay main character energy only past this point. π
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. with PDL:PP you get the full speed of native C code without having to deal with the full complexity of the C language. literally speedrun strats. β
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. iykyk. π
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. and listen β if you can read this document and understand all of it, and you additionally understand PDL::PP, you will be awarded the title of "PDL Guru". that's the final boss title, no cap. π
π 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 page, bestie!! this was TUTORIALS(1p) from perl v5.38.2, dated 2024-04-10. go read a tutorial, slay, and hydrate. πβ¨ππ¦πΈπ
π«Ά
π¦ where this page comes from
- ubuntu noble: pdl 1:2.085-1ubuntu1 Β· 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