Skip to main content

ArrayRules

ArrayRules[SparseArray[…]] gives the rules {pos1->val1,pos2->val2,…} specifying elements in a sparse array. 

ArrayRules[list] gives rules for SparseArray[list].

Please visit the official Wolfram Language Reference for more details and examples on core symbols.