![]() |
![]()
| ![]() |
![]()
NAMEData::Frame::PDL - A mixin to add some methods to PDL VERSIONversion 0.006004 DESCRIPTIONThis module provides a role that can add a few methods to the PDL class. It's an internal module used by the Data::Frame library to add a few methods to the PDL class. Do not directly use this module in your code, as the module name may change in future. METHODSlengthlength() Returns the length of the first dimension. number_of_rowsnumber_of_rows() Deprecated in favor of "length". diffdiff($lag=1) flattenflatten() This is same as "@{$self->unpdl}". flatten_deepflatten_deep() This is same as list(). repeatrepeat($n) Repeat on the first dimension for $n times. Only works with 1D piddle. repeat_to_lengthrepeat_to_length($length) Repeat to have the given length. Only works with 1D piddle. idid() Compute a unique numeric id for each element in a piddle. 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.
|