This is documentation for Mathematica 9, which was
based on an earlier version of the Wolfram Language.
MATHEMATICA GUIDE

# List Manipulation

Lists are central constructs in Mathematica, used to represent collections, arrays, sets, and sequences of all kinds. Lists can have any structure and size, and can routinely involve even millions of elements. Well over a thousand built-in functions throughout Mathematica operate directly on lists, making lists a powerful vehicle for interoperability.

## Learning ResourcesLearning Resources

### How Tos

Related Web Resources

Community

## ReferenceReference

### Constructing Lists »

(List) specify a list explicitly

Table make a table of values of an expression

Array make an array of any dimension from a function

### Elements of Lists »

list[[...]] (Part) parts or sequences of parts (), resettable with

Select select according to a function

Cases give cases matching a pattern

### Rearranging & Restructuring Lists »

Flatten flatten out nested lists

### Applying Functions to Lists »

Map (/@) — map a function over a list:

Apply (@@, @@@) — apply a function to a list:

### Math & Counting Operations »

{..}+{..}, etc. — automatically operate in parallel on list elements