Nest
(Built-in Mathematica Symbol) Nest[f, expr, n] gives an expression with f applied n times to expr.
Many programs you write will involve operations that need to be iterated several times. Nest and NestList are powerful constructs for doing this. Applying functions of one ...
NestList[f, expr, n] gives a list of the results of applying f to expr 0 through n times.
NestWhile[f, expr, test] starts with expr, then repeatedly applies f until applying test to the result no longer yields True. NestWhile[f, expr, test, m] supplies the most ...
Ways to construct nested lists. This generates a table corresponding to a 2×3 nested list. This generates an array corresponding to the same nested list.
Nested lists are lists within a list; they are the principal structure for data in Mathematica and allow for high-dimension arrays and ragged datasets as well as common uses ...
You will encounter nested lists if you use matrices or generate multidimensional arrays and tables. Mathematica provides many functions for handling such lists. A few ...
NestWhileList[f, expr, test] generates a list of the results of applying f repeatedly, starting with expr, and continuing until applying test to the result no longer yields ...
Long used in its simplest form in mathematics, functional iteration is an elegant way to represent repeated operations. Mathematica's symbolic architecture makes powerful ...
Depth
(Built-in Mathematica Symbol) Depth[expr] gives the maximum number of indices needed to specify any part of expr, plus 1.