StringReplace["string", s -> sp] or StringReplace["string", {s_1 -> sp_1, s_2 -> sp_2, ...}] replaces the string expressions s_i by sp_i whenever they appear as substrings of ...
Mathematica notebooks support a variety of input and output styles. You can write input using the characters from the standard keyboard. Alternately, you can write input in ...
Patterns are used throughout Mathematica to represent classes of expressions. A simple example of a pattern is the expression f[x_]. This pattern represents the class of ...
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 ...
Sort
(Built-in Mathematica Symbol) Sort[list] sorts the elements of list into canonical order. Sort[list, p] sorts using the ordering function p.
When you generate a very large output expression in Mathematica, you often do not want to see the whole expression at once. Rather, you would first like to get an idea of the ...
Partitioning elements in a list. This partitions in blocks of 3. This partitions in blocks of 3 with offset 1.
Because of its unified symbolic architecture, Mathematica provides powerful capabilities for creating layouts, both interactively and programmatically, and containing ...
Not only can Mathematica perform very complicated data analysis, it can also display these results in a formatted, easy-to-read display that can be used in other documents or ...
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.