Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • $\begingroup$ Most of zeros is exactly my situation - so, thanks, very useful tip. $\endgroup$ Commented Jan 27, 2012 at 4:26
  • $\begingroup$ @Vitaliy Glad I could help. I've figured this out quite recently b.t.w., when having some similar problem. One probably could build a version of SparseArrays where binary search trees or hash tables would be used to store no-zero positions and elements, which would be better in this case. It would, however, be a lot of work tointegrate those as well into Mathematica as the current SparseArray-s are. $\endgroup$ Commented Jan 27, 2012 at 9:09