PDL::LiteF#

📦 stdpdl

The core PDL modules, with their functions imported.

use PDL::LiteF;
print sum(pdl(1, 2, 3)), " ", zeroes(2), " ", defined &main::det ? "MatrixOps" : "no MatrixOps", "\n";   # 6 [0 0] no MatrixOps

use PDL::LiteF loads the modules PDL::Lite does - PDL::Core, PDL::Ops, PDL::Primitive, PDL::Ufunc, PDL::Basic, PDL::Slices and PDL::Bad - and imports each one’s functions, as use PDL does. Unlike use PDL it leaves out PDL::Math, PDL::MatrixOps and the IO modules.

This is PDL::LiteF of PDL 2.106: upstream’s Perl, unchanged.