|Think about Loose Coupling|
Capturing Non-Zero Elements, Counts and Indexes of Sparse Matrixby neversaint (Deacon)
|on Aug 25, 2009 at 08:25 UTC||Need Help??|
neversaint has asked for the wisdom of the Perl Monks concerning the following question:
I have the following sparse matrix A.
Then I would like to capture the following information from there:
Since the actual matrix A is potentially very2 large, is there any efficient way in Perl that can capture those elements? Especially without slurping all matrix A into RAM.
I am stuck with the following code. Which doesn't give what I want.
neversaint and everlastingly indebted.......