We first encountered lists in "Making Lists of Objects" as a way of collecting numbers together. Here, we shall see many different ways to use lists. You will find that lists ...
When you create or use Mathematica packages, you will often want to refer to files in a system-independent way. You can use contexts to do this. The basic idea is that on ...
In doing calculations, it is often convenient to collect together several objects, and treat them as a single entity. Lists give you a way to make collections of objects in ...
There are some close connections between finding a "local minimum" and solving a set of nonlinear equations. Given a set of n equations in n unknowns, seeking a solution r(x) ...
RankedEmbedding[l] takes a set partition l of vertices {1, 2, ..., n} and returns an embedding of the vertices in the plane such that the vertices in each block occur on a ...
expr /. rules applies a rule or list of rules in an attempt to transform each subpart of an expression expr.
Rule
(Built-in Mathematica Symbol) lhs -> rhs or lhs -> rhs represents a rule that transforms lhs to rhs.
Mathematica handles many different kinds of things: mathematical formulas, lists, and graphics, to name a few. Although they often look very different, Mathematica represents ...
"Values for Symbols" discussed how you can use transformation rules of the form x->value to replace symbols by values. The notion of transformation rules in Mathematica is, ...
NotebookEventActions is a notebook option that gives a list of actions to perform when specified events occur in connection with the notebook.