Defining local constants. Module allows you to set up local variables, to which you can assign values and then change them. Often, however, all you really need are local ...
Mathematica by default interprets any sequence of letters or letter-like forms as the name of a symbol. All these are treated by Mathematica as symbols. Symbols with built-in ...
Mathematica notebooks allow you to create documents that can be viewed interactively on screen or printed on paper. Particularly in larger notebooks, it is common to have ...
Sometimes you may want to set up functions where certain arguments, if omitted, are given "default values". The pattern x_:v stands for an object that can be omitted, and if ...
"Sound" describes how you can take functions and lists of data and produce sounds from them. Here we discuss how sounds are represented in Mathematica. Mathematica treats ...
Mathematica is one of the more complex software systems ever constructed. It is built from several million lines of source code, written in C/C++, Java and Mathematica. The C ...
Cellular automata provide a convenient way to represent many kinds of systems in which the values of cells in an array are updated in discrete steps according to a local ...
StringSplit["string"] splits " string" into a list of substrings separated by whitespace. StringSplit["string", patt] splits into substrings separated by delimiters matching ...
Most of the documentation provided for Mathematica is concerned with explaining what Mathematica does, not how it does it. But the purpose of this is to say at least a little ...
The main expression or object that a built-in Mathematica function acts on is given as the first argument to the function. As part of the syntax, a built-in Mathematica ...