|
ArrayRules
ArrayRules[SparseArray[... ]] gives the rules  -> , -> , ... specifying elements in a sparse array.
ArrayRules[list] gives rules for SparseArray[list].
The last element of ArrayRules[s] is always _, _, ... -> def, where def is the default value for unspecified elements in the sparse array.
ArrayRules[list, val] takes the default value to be val.
ArrayRules[list] assumes a default value of 0.
See Section 3.7.2 and Section 3.7.12.
See also: Position, Normal.
New in Version 5.0.
Further Examples
|