Integrated into the core Mathematica language is industrial-strength string manipulation, not only with ordinary regular expressions, but also with Mathematica's own powerful ...
Mathematica symbolic expressions can represent an immense range of types of objects. Mathematica provides a rich collection of functions to test expressions. Functions that ...
Now that we have introduced the basic features of patterns in Mathematica, we can use them to give a more or less complete example. We will show how you could define your own ...
The names of built-in functions follow some general guidelines. The main expression or object on which a built-in function acts is usually given as the first argument to the ...
Mathematica provides a carefully chosen set of functions for accessing elements of lists either using indices or positions, or using patterns or criteria for their values.
Mathematica has a highly flexible system for handling dates and times in almost any format, automatically converting between formats, and when necessary parsing strings ...
Collect
(Built-in Mathematica Symbol) Collect[expr, x] collects together terms involving the same powers of objects matching x. Collect[expr, {x_1, x_2, ...}] collects together terms that involve the same powers ...
Built on powerful and elegant long-standing principles, the core Mathematica language has been gradually enhanced under tight control over its twenty-year history. Version ...
DiamondMatrix[r] gives a matrix whose elements are 1 in a diamond-shaped region that extends r index positions to each side, and are 0 otherwise.DiamondMatrix[r, w] gives a ...
SetAttributes[s, attr] adds attr to the list of attributes of the symbol s.