PDL::SV - PDL subclass for keeping scalar data (like strings)
version 0.0059_01
use PDL::SV (); my $p = PDL::SV->new( [ qw(foo bar) ] );
This PDL::SV class stores array of scalar values. It can be used for vectors of strings.
While this class is a subclass of PDL, its internals are quite different from other normal PDL types. So basically what's not documented are not guarenteed to work.
These methods basically have similar behavior as PDL class's methods of same names.
slice(...)
dice(...)
$c = $a->glue($dim, $b, ...);
Glue two or more PDLs together along an arbitrary dimension. For now it only supports 1D PDL::SV piddles, and $dim has to be 0.
$dim
0
uniq()
BAD values are not considered unique and are ignored.
Return the indices of all uniq elements of a piddle.
sever()
set(@position, $value)
at(@position)
unpdl()
list()
copy()
inplace()
where($mask)
isbad()
isgood()
ngood()
nbad()
setbadif($mask)
setbadtoval($val)
Cannot be run inplace.
These methods exist not in PDL but only in this class.
match_regexp($pattern)
Match against a plain a regular expression. Returns a piddle of the same dimension.
PDL
Zakariyya Mughal <zmughal@cpan.org>
Stephan Loyd <sloyd@cpan.org>
This software is copyright (c) 2014, 2019-2021 by Zakariyya Mughal, Stephan Loyd.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Alt::Data::Frame::ButMore, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alt::Data::Frame::ButMore
CPAN shell
perl -MCPAN -e shell install Alt::Data::Frame::ButMore
For more information on module installation, please visit the detailed CPAN module installation guide.