Skip to main content
10 events
when toggle format what by license comment
Jun 16, 2020 at 9:23 history edited CommunityBot
Commonmark migration
Jun 5, 2014 at 7:51 history edited Mr.Wizard CC BY-SA 3.0
remove superfluous operation noted by the OP
Jun 5, 2014 at 7:45 vote accept Charlotte Hadley
May 1, 2014 at 20:05 comment added Mr.Wizard @Martin "NonzeroPositions" is actually non-background positions (a SparseArray has a default background of zero but it can be set to other things), in multidimensional form; "AdjacencyLists" is the same but for each row and without the first dimension. If you have any questions please let me know.
May 1, 2014 at 20:04 comment added Mr.Wizard @Martin I first learned about SparseArray Properties from a post by Oliver Ruebenkoenig on MathGroup. Since them I've made frequent use of them, e.g. as linked here. You can get a list of the Properties with SparseArray[{1}]["Properties"]. Experimentation is perhaps the best way to understand them. (continued)
May 1, 2014 at 17:00 comment added Charlotte Hadley Need to understand the SparseArray SubValues better - it's part of your standard toolbox, where'd you gain the knowledge?
May 1, 2014 at 3:59 comment added ciao Nah, I doofused the question by not paying attention, penance is deletion...
May 1, 2014 at 3:06 comment added Mr.Wizard @rasher Thanks! I see you deleted your answer. I found another way to make the insertions that I like well enough (it's cleaner, but not as fast). Why don't you resurrect your answer and I'll leave that ("method #2" to you?
May 1, 2014 at 3:05 history edited Mr.Wizard CC BY-SA 3.0
added 923 characters in body
May 1, 2014 at 2:38 history answered Mr.Wizard CC BY-SA 3.0