Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / New in Version 5.0 / Lists and Matrices /

ArrayRules

FilledSmallSquare ArrayRules[SparseArray[... ]] gives the rules ->, ->, ... specifying elements in a sparse array.

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

FilledSmallSquare The last element of ArrayRules[s] is always _, _, ... -> def, where def is the default value for unspecified elements in the sparse array.

FilledSmallSquare ArrayRules[list, val] takes the default value to be val.

FilledSmallSquare ArrayRules[list] assumes a default value of 0.

FilledSmallSquare See Section 3.7.2 and Section 3.7.12.

FilledSmallSquare See also: Position, Normal.

FilledSmallSquare New in Version 5.0.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.