There are a number of important interactions in Mathematica between evaluation and pattern matching. The first observation is that pattern matching is usually done on ...
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 ...
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. ...
Function Names as Expressions Applying Functions Repeatedly Applying Functions to Lists and Other Expressions
ShearingMatrix[\[Theta], v, n] gives the matrix corresponding to shearing by \[Theta] radians along the direction of the vector v, and normal to the vector n.
ArcCsch
(Built-in Mathematica Symbol) ArcCsch[z] gives the inverse hyperbolic cosecant csch -1 (z) of the complex number z.
In many computations you are concerned only with the final result of evaluating the expression given as input. But sometimes you also want to collect expressions that were ...
When you make a sequence of definitions in Mathematica, some may be more general than others. Mathematica follows the principle of trying to put more general definitions ...
FoldList[f, x, {a, b, ...}] gives {x, f[x, a], f[f[x, a], b], ...}.
LaunchKernels[] launches all currently configured parallel subkernels.LaunchKernels[n] launches n local subkernels on the current computer.LaunchKernels[des] launches a ...