![]() |
![]()
| ![]() |
![]()
NAMEPDL::SV - PDL subclass for keeping scalar data (like strings) VERSIONversion 0.006004 SYNOPSISuse PDL::SV (); my $p = PDL::SV->new( [ qw(foo bar) ] ); DESCRIPTIONThis 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 guaranteed to work. METHODS / BASICThese methods basically have similar behavior as PDL class's methods of same names. sliceslice(...) dicedice(...) glue$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. uniquniq() BAD values are not considered unique and are ignored. uniqind()Return the indices of all uniq elements of a piddle. seversever() setset(@position, $value) atat(@position) unpdlunpdl() listlist() copycopy() inplaceinplace() wherewhere($mask) METHODS / BAD VALUEThese methods basically have similar behavior as PDL class's methods of same names. isbadisbad() isgoodisgood() ngoodngood() nbadnbad() setbadifsetbadif($mask) setbadtovalsetbadtoval($val) Cannot be run inplace. METHODS / ADDITIONALThese methods exist not in PDL but only in this class. match_regexpmatch_regexp($pattern) Match against a plain regular expression. Returns a piddle of the same dimension. SEE ALSOPDL AUTHORS
COPYRIGHT AND LICENSEThis software is copyright (c) 2014, 2019-2022 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.
|