SparseArray[{pos_1 -> val_1, pos_2 -> val_2, ...}] yields a sparse array in which values val_i appear at positions pos_i. SparseArray[{pos_1, pos_2, ...} -> {val_1, val_2, ...
DiscreteWaveletData[{wind_1 -> coef_1, ...}, wave, wtrans] yields a discrete wavelet data object with wavelet coefficients coef_i corresponding to wavelet index wind_i, ...
CellularAutomaton[rule, init, t] generates a list representing the evolution of the cellular automaton with the specified rule from initial condition init for t steps. ...
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 ...
You may have noticed that there are two different ways to make assignments in Mathematica: lhs=rhs and lhs:=rhs. The basic difference between these forms is when the ...
In this tutorial, the following topics are discussed: The following sequence explains how to use the Reshape tool ( GraphicsBox[RasterBox[CompressedData[ ], {Offset[{0.5, ...
Mathematica uses various syntactic rules to interpret input that you give, and to convert strings and boxes into expressions. The version of these rules that is used for ...
Mathematica is uniquely suited for processing symbolic expressions because of its powerful pattern-matching abilities and large collection of built-in structural manipulation ...
StringCount["string", " sub"] gives a count of the number of times " sub" appears as a substring of " string". StringCount["string", patt] gives the number of substrings in " ...
Principles of Evaluation Reducing Expressions to Their Standard Form Attributes