Lists
(Mathematica Overview) Making Lists of Objects Collecting Objects Together Making Tables of Values
There are many functions that are built into Mathematica. This tutorial discusses how you can add your own simple functions to Mathematica. As a first example, consider ...
Map
(Built-in Mathematica Symbol) Map[f, expr] or f /@ expr applies f to each element on the first level in expr. Map[f, expr, levelspec] applies f to parts of expr specified by levelspec.
Making lists from functions. This makes a list of 5 elements, each of the form p[i]. Here is another way to produce the same list.
Functions for manipulating elements in explicit lists. This gives a list with x prepended. This inserts x so that it becomes element number 2.
Defining Functions Functions as Procedures Manipulating Options
Mathematica has over 3000 built-in functions and other objects, all based on a single unified framework, and all carefully designed to work together, both in simple ...
Function[body] or body & is a pure function. The formal parameters are # (or #1), #2, etc. Function[x, body] is a pure function with a single formal parameter x. ...
Testing and searching for elements of lists. "Getting Pieces of Lists" discusses how to extract pieces of lists based on their positions or indices. Mathematica also has ...