Editing
Portal:HPC - High Performance Computing
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== PDL: the Perl Data Language === The most important Perl technology for numerical and scientific computing is '''PDL''', the '''Perl Data Language'''. PDL gives Perl compact, fast, multidimensional numerical arrays and vectorized operations. The PDL website describes it as giving standard Perl the ability to compactly store and speedily manipulate large N-dimensional data arrays, which are central to scientific computing.<ref>PDL, “Scientific computing with Perl,” https://pdl.perl.org/content/home.html, accessed July 3, 2026.</ref> MetaCPAN describes PDL as a Perl extension designed for scientific and bulk numeric data processing and display, with fully vectorized multidimensional array handling.<ref>MetaCPAN, “PDL - the Perl Data Language,” https://metacpan.org/pod/PDL, accessed July 3, 2026.</ref> PDL is important because pure scalar Perl loops are usually not appropriate for heavy numerical work. PDL changes the programming model. Instead of looping over millions of numbers one at a time in Perl, a programmer operates on whole arrays. The expensive work can then happen in optimized compiled code underneath the Perl interface. This makes PDL comparable in spirit to array systems such as NumPy, IDL, MATLAB, or R’s vectorized operations, while retaining Perl’s strengths in scripting, text processing, CPAN modules, system integration, and file handling. PDL is useful for: * array mathematics; * image processing; * signal processing; * statistics; * matrix operations; * data visualization; * scientific file handling; * numerical experimentation; * preparation and post-processing of HPC output. PDL also provides an interactive shell, `perldl`, which lets users explore data interactively. This matters historically because scientific computing often requires exploratory analysis, not only fixed production code.
Summary:
Please note that all contributions to Perl Guilds - Getting Medieval with Perl may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Perl Guilds - Getting Medieval with Perl:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Tools
What links here
Related changes
Page information