MapIndexed[f, expr] applies f to the elements of expr, giving the part specification of each element as a second argument to f. MapIndexed[f, expr, levelspec] applies f to ...
Lists are widely used in Mathematica, and there are many ways to construct them. Some explicit ways to construct lists. This gives a table of the first five powers of 2.
If you have a list of elements, it is often important to be able to apply a function separately to each of the elements. You can do this in Mathematica using Map. This ...
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 ...
Looping is a core concept in programming. Mathematica provides powerful primitives for specifying and controlling looping, not only in traditional procedural programming, but ...
Many computations are conveniently specified in terms of applying functions in parallel to many elements in a list. Mathematica provides a suite of elegant functional ...
Long viewed as an important theoretical idea, functional programming finally became truly convenient and practical with the introduction of Mathematica's symbolic language. ...
Lists are central constructs in Mathematica, used to represent collections, arrays, sets, and sequences of all kinds. Lists can have any structure and size, and can routinely ...
Map
(Built-in Mathematica Symbol) Map[f, expr] or f /@ expr applies f to each element on the first level in expr. Map[f, expr, levelspec] applies f to parts of expr specified by levelspec.
WaveletMapIndexed[f, wd] applies the function f to the arrays of coefficients and indices of a ContinuousWaveletData or DiscreteWaveletData object.WaveletMapIndexed[f, dwd, ...