NAME
Data::Printer::Filter::PDL - Filter for Data::Printer that handles PDL data.
SYNOPSIS
use PDL;
use Data::Printer;
my $pdl = sequence(10,10);
p $pdl;
__END__
PDL {
Data : [
[0 1]
[2 3]
]
Type : double
Shape : [2 2]
Nelem : 4
Min : 0
Max : 3
Badflag : No
Has Bads : No
}
DESCRIPTION
This module provides formatting for PDL data that can be used to quickly see the contents of a PDL variable.
EXAMPLES
You will want to configure Data::Printer to use this module by creating a .dataprinter file in your $HOME directory:
{
colored => 1,
filters => {
-external => [ 'PDL' ],
}
};
BUGS
Report bugs and submit patches to the repository on GitHub.
SEE ALSO
Data::Printer, PDL, Devel::REPL::Plugin::DataPrinter
COPYRIGHT
Copyright 2013 Zakariyya Mughal.
This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.
ACKNOWLEDGMENTS
Thanks to Joel Berger for the original code that this was based upon.