genecutl has asked for the wisdom of the Perl Monks concerning the following question:
I'm just getting started with PDL and I have a very dumb question, but I can't figure this out from the docs. How do I extract a pdl into a regular perl data structure, such as a 1 dimensional pdl array into a regular perl array?
All I can find is the 'at' command which will pull out a single scalar at a time, but I believe firmly that the perl that I know and love wouldn't make me manually iterate over all the elements of a pdl to extract the data.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: PDL newbie question
by duff (Parson) on Sep 17, 2004 at 20:25 UTC | |
Re: PDL newbie question
by etj (Deacon) on Jun 22, 2022 at 20:39 UTC | |
Re: PDL newbie question
by genecutl (Beadle) on Sep 20, 2004 at 21:11 UTC | |
Re: PDL newbie question
by ccn (Vicar) on Sep 17, 2004 at 19:06 UTC |
Back to
Seekers of Perl Wisdom