pdldoc dims
Module PDL::IO::HDF5::Dataset
dims
Get the dims for a HDF5 dataset. For example, a 3 x 4 array would return
a perl array (3,4);Usage: @pdl = $dataset->dims; # Get an array of dims. Docs from /local64/lib/perl5/cygwin-thread-multi/PDL/IO/HDF5/Dataset.pm
but if I look at the PDL distribution result I get:
perl -Mblib pdldoc dims
Module PDL::Core
dims
Return piddle dimensions as a perl list@dims = $piddle->dims; @dims = dims($piddle); pdl> p @tmp = dims zeroes 10,3,22 10 3 22 See also shape which returns a piddle instead. Docs from /pdl/git/pdl-code/blib/lib/PDL/Core.pm
so it appears that the install of the PDL docs from the PDL::IO::HDF5 module has overwritten the separate dims() from PDL::Core. Ideally, both should be present and listed in the default pdldoc output.
This is for PDL-2.018 with PDL::IO::HDF5 0.73.
Possible duplicate of [#274].
Related
Bugs:
#274Please try the fix_docsys branch and let me know if that fix works with external modules too.
This matter will now be tracked at https://github.com/PDLPorters/pdl/issues/222