|
NAMEPDL::Logical - PDL subclass for keeping logical data VERSIONversion 0.006004 SYNOPSIS use PDL::Logical ();
# below does what you mean, while pdl([true, false]) does not
use boolean;
my $logical = PDL::Logical->new([ true, false ]);
DESCRIPTIONThis class represents piddle of logical values. It provides a way to treat data as booleans and convert them to piddles. 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.
|