Built on powerful and elegant principles, the core Mathematica language provides a uniquely deep and rich programming language that scales from rapid prototyping to large ...
Cases
(Built-in Mathematica Symbol) Cases[{e_1, e_2, ...}, pattern] gives a list of the e_i that match the pattern. Cases[{e_1, ...}, pattern -> rhs] gives a list of the values of rhs corresponding to the e_i ...
RandomSample[{e_1, e_2, ...}, n] gives a pseudorandom sample of n of the e_i.RandomSample[{w_1, w_2, ...} -> {e_1, e_2, ...}, n] gives a pseudorandom sample of n of the e_i ...
Read
(Built-in Mathematica Symbol) Read[stream] reads one expression from an input stream and returns the expression. Read[stream, type] reads one object of the specified type. Read[stream, {type_1, type_2, ...
Flatten
(Built-in Mathematica Symbol) Flatten[list] flattens out nested lists. Flatten[list, n] flattens to level n. Flatten[list, n, h] flattens subexpressions with head h. Flatten[list, {{s_11, s_12, ...}, ...
GeneratingFunction[expr, n, x] gives the generating function in x for the sequence whose n\[Null]^th series coefficient is given by the expression ...
Mathematica allows arbitrary hierachical namespaces. However, several standard "contexts" are conventionally used for predefined purposes.
Unicode: 00AE. Alias: Esc rtm Esc. Letter-like form. Used as a superscript to indicate a registered trademark such as Mathematica. Typically used only on the first occurrence ...
Unicode: 21A6. Infix arrow operator. x ↦ y is by default interpreted as RightTeeArrow[x,y]. Used in mathematics to indicate a transformation, often the action of a mapping on ...