NAME

PDL::Logical - PDL subclass for keeping logical data

VERSION

version 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 ]);

DESCRIPTION

This class represents piddle of logical values. It provides a way to treat data as booleans and convert them to piddles.

SEE ALSO

PDL

AUTHORS

  • Zakariyya Mughal <zmughal@cpan.org>

  • Stephan Loyd <sloyd@cpan.org>

COPYRIGHT AND LICENSE

This 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.