Subsets
(Built-in Mathematica Symbol) Subsets[list] gives a list of all possible subsets of list. Subsets[list, n] gives all subsets containing at most n elements. Subsets[list, {n}] gives all subsets containing ...
$PreRead is a global variable whose value, if set, is applied to the text or box form of every input expression before it is fed to Mathematica.
Expressions are the main type of data in Mathematica. Expressions can be written in the form h[e_1,e_2,…]. The object h is known generically as the head of the expression. ...
Functions that are specified by simple algebraic formulas tend to be such that when their input is changed only slightly, their output also changes only slightly. But ...
In this tutorial, the following topics are discussed: The following sequence explains how to use the Reshape tool ( GraphicsBox[RasterBox[CompressedData[ ], {Offset[{0.5, ...
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 ...
Mathematical constants. Euler's constant EulerGamma is given by the limit γUnderscriptBox[lim, RowBox[{m, , ∞}], LimitsPositioning -> True](UnderoverscriptBox[∑, RowBox[{k, ...
Numerical integration functions. This finds a numerical approximation to the integral ∫_(0)^∞ e^-x^3 x. Here is the numerical value of the double integral ∫_(-1)^1 dx ...
Finding lines that contain specified text. Here is a file containing some text. This returns a list of all the lines in the file containing the text is.
FixCRLF["str"] changes the linefeeds in the given string to the CR/LF Windows convention.