There's more than one way to do things | |
PerlMonks |
Re: Memory Efficient Sparse Matrix Handlingby andye (Curate) |
on Jan 26, 2009 at 17:50 UTC ( [id://738989]=note: print w/replies, xml ) | Need Help?? |
You've already tried PDL's 'Sparse' module?
update: this is kind of off-the-wall, but you might also want to search cpan for RLE (run-length-encoding) - there's a bunch of image-related modules which can do rle for you. update2: Also, see the rle() and rld() functions of pdl::slices.
In Section
Seekers of Perl Wisdom
|
|