ArrayRules(sparse-array)
return the array of rules which define the sparse array.
ArrayRules(sparse-array, default-value)
return the array of rules which define the sparse array and set the new
default-value
.
ArrayRules(nested-lists)
return the array of rules which define the nested lists.
>> a = {{{0,0},{1,1}},{{0,1},{0,1}}}
{{{0,0},{1,1}},{{0,1},{0,1}}}
>> ArrayRules(a)
{{1,2,1}->1,{1,2,2}->1,{2,1,2}->1,{2,2,2}->1,{_,_,_}->0}
- ✅ - full supported