MapThread[f, {{a_1, a_2, ...}, {b_1, b_2, ...}, ...}] gives {f[a_1, b_1, ...], f[a_2, b_2, ...], ...}. MapThread[f, {expr_1, expr_2, ...}, n] applies f to the parts of the ...
Mathematica supports operations on matrices of any size and has a range of input methods appropriate for different needs, from small formatted matrices via keyboard or ...
Mathematica includes many powerful operations for working with lists. It is often desirable to map a function onto each individual element in a list. While listable functions ...
PartitionsQ[n] gives the number q (n) of partitions of the integer n into distinct parts.
Reap
(Built-in Mathematica Symbol) Reap[expr] gives the value of expr together with all expressions to which Sow has been applied during its evaluation. Expressions sown using Sow[e] or Sow[e, tag_i] with ...
The first part of this User Guide describes using J/Link to allow you to call from Mathematica into Java, thereby extending the Mathematica environment to include the ...
The CompilationTarget option of Compile specifies the target runtime system for the compiled function. The default setting is "MVM", which creates code for the traditional ...
The Mathematica compiler can run computations in parallel. It does this by threading a compiled function over lists of data in parallel. A first step is to create a compiled ...
CirculantGraph[n, j] gives the circulant graph with n vertices and jump j C_n (j).CirculantGraph[n, {j_1, j_2, ...}] gives the circulant graph with n vertices and jumps j_1, ...
CompleteGraph[n] gives the complete graph with n vertices K_n.CompleteGraph[{n_1, n_2, ..., n_k}] gives the complete k-partite graph with n_1 + n_2 + \[CenterEllipsis] + n_k ...