WolframLang: Iteration

By Xah Lee. Date: . Last updated: .

Into to Iteration

Loop or iteration are usually done by several functional ways in WolframLang.

They include, Table, Range, for generating list.

Map and others, for mapping a function to list.

Nest, Fold and others, for recursion.

Also, many task involving iteration have a builtin function to do it, such as filter, check existance, reshape (transpose, split, etc), and others. See WolframLang: List Operations

Create List

Map a Function to List

Recursion

Procedural Loop

WolframLang Loop, Iteration, Recursion