Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

ArrayRules

Usage

ArrayRules[SparseArray[ ... ]] gives the rules { -> ,  -> , ... } specifying elements in a sparse array.
ArrayRules[list] gives rules for SparseArray[list].


Notes

• 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 also: Position, Normal.
• New in Version 5.
• Advanced Documentation.


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: