PDL::Logical - PDL subclass for keeping logical data
use PDL::Logical (); # below does what you mean, while pdl([true, false]) does not use boolean; my $logical = PDL::Logical->new([ true, false ]);
This class represents piddle of logical values. It provides a way to treat data as booleans and convert them to piddles.
Zakariyya Mughal <firstname.lastname@example.org>
Stephan Loyd <email@example.com>
This software is copyright (c) 2014, 2019 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.