0

I am wondering if a sparse matrix is stored in memory as a list which is its ArrayRules? The reason to ask this is I am trying to write a function to produce a large sparse matrix. However, I am not sure which way saves memory and is faster, return the rule to produce the sparse matrix or the sparse matrix itself?

supernova
  • 31
  • 1

0 Answers0