Select
(Built-in Mathematica Symbol) Select[list, crit] picks out all elements e_i of list for which crit[e_i] is True. Select[list, crit, n] picks out the first n elements for which crit[e_i] is True.
Trace
(Built-in Mathematica Symbol) Trace[expr] generates a list of all expressions used in the evaluation of expr. Trace[expr, form] includes only those expressions which match form. Trace[expr, s] includes ...
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, ...}, ...
And
(Built-in Mathematica Symbol) e_1 && e_2 && ... is the logical AND function. It evaluates its arguments in order, giving False immediately if any of them are False, and True if they are all True.
Drop
(Built-in Mathematica Symbol) Drop[list, n] gives list with its first n elements dropped. Drop[list, -n] gives list with its last n elements dropped. Drop[list, {n}] gives list with its n\[Null]^th ...
Or
(Built-in Mathematica Symbol) e_1 || e_2 || ... is the logical OR function. It evaluates its arguments in order, giving True immediately if any of them are True, and False if they are all False.
PadRight[list, n] makes a list of length n by padding list with zeros on the right. PadRight[list, n, x] pads by repeating the element x. PadRight[list, n, {x_1, x_2, ...}] ...
Union
(Built-in Mathematica Symbol) Union[list_1, list_2, ...] gives a sorted list of all the distinct elements that appear in any of the list_i. Union[list] gives a sorted version of a list, in which all ...
To run Mathematica from within an external program requires making use of many general features of MathLink. The first issue is how to establish a MathLink connection to ...
Length
(Built-in Mathematica Symbol) Length[expr] gives the number of elements in expr.