PDL::Modules(3pm)

๐Ÿ’– PDL::Modules ๐Ÿ’–

okay bestie, welcome to the PDL::Modules page โ€” it's the module reference guide for PDL, living its best life in the User Contributed Perl Documentation section of the manual. Think of it as the group chat where all the PDL modules introduce themselves. ๐Ÿซถ


โœจ NAME โœจ

PDL::Modules โ€” a whole guide to PDL's module reference, no cap. ๐Ÿ“š


๐ŸŒธ DESCRIPTION ๐ŸŒธ

This page is literally the table of contents for PDL's module documentation. Like, it's the map, bestie, the vibe index. ๐Ÿ—บ๏ธ

But heads up โ€” it does NOT list every single PDL module. It only shows the ones that are intended for PDL users, and it skips the ones that are deemed "for internal use only" (yes, they're in their private era, we don't bother them โœ‹).

If you want the comprehensive list of all documentation, go look at the PDL::Index page instead. that's where everybody shows up. ๐Ÿ‘‘


๐Ÿ” LOOKING FOR A FUNCTION? ๐Ÿ”

Bestie. If you're hunting for a specific function name, do not go scrolling manually like it's 2009. Use the PDL shell with the help or apropos command instead โ€” apropos does a fuzzy search, which is the icon of it. โœจ

For example:

 pdl> apropos xval
 xlinvals        X axis values between endpoints (see xvals).
 xlogvals        X axis values logarithmicly spaced...
 xvals           Fills an ndarray with X index values...
 yvals           Fills an ndarray with Y index values. See the CAVEAT for xvals.
 zvals           Fills an ndarray with Z index values. See the CAVEAT for xvals.

look at that output, it ate. ๐Ÿ’…

Wanna learn more about the PDL shell itself? Go see perldl. ๐Ÿ‘€


๐Ÿ›๏ธ FOUNDATION ๐Ÿ›๏ธ

The OGs. The main characters. โœจ

  • perldl โ€” Learn about the PDL shell, periodt. ๐Ÿš

๐Ÿงฎ Functions

  • PDL::Core โ€” Core module (e.g. creating ndarrays). literally the blueprint, the moment.
  • PDL::Basic โ€” Simplified interface to the more general PDL::Primitive. it's the user-friendly bestie. ๐Ÿซถ
  • PDL::Ops โ€” Basic operators (e.g. arithmetic, comparisons, etc.). math but make it cute. โž•
  • PDL::Ufunc โ€” Functions that accumulate along a dimension (e.g. sum, max). stacking up the vibes, one dimension at a time. ๐Ÿ“ˆ

๐ŸŽ€ Other Features

  • PDL::AutoLoader โ€” MATLAB-style function autoloader. it just shows up when you need it, iconic. ๐Ÿงš
  • PDL::Slices โ€” Indexing and slices. How to access a subset of an ndarray. the "just a lil piece please" module. ๐Ÿฐ
  • PDL::NiceSlice โ€” Nicer syntax for slices. because nicer syntax is always the move. ๐Ÿ’…

๐ŸŒˆ MISCELLANEOUS ๐ŸŒˆ

the everything-else bag, and honestly? it's giving range. ๐Ÿ’œ

  • PDL::Primitive โ€” Fundamental operations on ndarrays. foundational fr fr.
  • PDL::Bad โ€” Bad value support. handling the problem children with grace. ๐Ÿ™ˆ
  • PDL::Reduce โ€” A 'reduce' function for PDL. (yes that's literally the description, short and sweet ๐Ÿ“)
  • PDL::Lite โ€” Minimum PDL module OO loader. small but mighty. ๐Ÿœ
  • PDL::LiteF โ€” Minimum PDL module function loader. the function-flavored twin, not like other girls. โœจ
  • PDL::Func โ€” Interpolation-related functions. filling in the blanks between the blanks. ๐Ÿ”ฎ

๐Ÿ–ผ๏ธ IMAGE PROCESSING ๐Ÿ–ผ๏ธ

pixels! pixels everywhere! ๐Ÿ˜ญ๐Ÿ’–

  • PDL::Compression โ€” Compression utilities. making it smol.
  • PDL::Image2D โ€” 2-dimensional image processing. flat and proud of it. ๐ŸŸช
  • PDL::ImageND โ€” N-dimensional image processing. anything dimension you want, it's flexible like that. ๐ŸŒ€
  • PDL::ImageRGB โ€” RGB image data handling. red green blue, the original trio. ๐ŸŒˆ

๐Ÿ”ข NUMERICAL METHODS ๐Ÿ”ข

  • PDL::FFT โ€” Fast Fourier Transform (native implementation). math so fast it's blurry. โšก

๐Ÿงญ COORDINATE TRANSFORMATIONS ๐Ÿงญ

  • PDL::Transform โ€” Coordinate transforms, image warping, and N-D functions. it bends reality, nbd. ๐ŸŒŒ
  • PDL::Transform::Cartography โ€” Cartographic projections. map girlies rise up. ๐Ÿ—บ๏ธ

๐Ÿ“ IO FUNCTIONS ๐Ÿ“

in and out, baby. it's giving data circulation. ๐Ÿ”„

  • PDL::IO โ€” Overview of IO functions. the whole tour, the whole itinerary. โœˆ๏ธ
  • PDL::IO::Dumper โ€” Data dumper. yeet it out, load it back. ๐Ÿ—‘๏ธ
  • PDL::IO::FastRaw โ€” Fast storage format (outdated). it was iconic in its time, but bestie... it's dated. ๐Ÿ‘ต
  • PDL::IO::FlexRaw โ€” Flexible storage format. the glow-up successor. ๐Ÿ’…
  • PDL::IO::Misc โ€” Misc IO routines. odds and ends, still serving.
  • PDL::IO::Storable โ€” Support for Perl's Storable module. playing nice with the neighbors. ๐Ÿค

๐Ÿ“ธ Image Formats

  • PDL::IO::FITS โ€” PDL support for FITS images. astronomy girlies, this one's for you. ๐Ÿ”ญ
  • PDL::IO::Pnm โ€” PDL support for PNM images. the humble format, still here, still cute. ๐ŸŒธ

๐Ÿ”ฒ 2D MATRICES ๐Ÿ”ฒ

  • PDL::Matrix โ€” Convenience class for 2D matrix work. grids but glamorous. โœจ
  • PDL::MatrixOps โ€” Additional matrix operators. more tools for the matrix toolkit. ๐Ÿงฐ

๐Ÿš€ ADVANCED ๐Ÿš€

for when you're ready to level up, bestie. no turning back. ๐Ÿ‘‘

  • PDL::Dbg โ€” PDL debugger. for when your code is acting up and you need answers. ๐Ÿ•ต๏ธ
  • PDL::DiskCache โ€” Manage many ndarrays through a disk cache. juggling many ndarrays at once, a whole circus. ๐ŸŽช
  • PDL::Objects โ€” If you want to sub-class from PDL. because sometimes you gotta build your own. ๐Ÿ—๏ธ

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/


so yeah, that's the whole tour bestie, we ate and left no crumbs ๐ŸŽ€

this was written by the fine folks keeping PDL::Modules alive in the User Contributed Perl Documentation, and this version is perl v5.42.3, dated 2026-08-20. ily, go write some ndarrays. ๐Ÿ’–โœจ๐Ÿฆ‹
๐Ÿ“ฆ where this page comes from