Table
An alias for Tabulate (the preferred name) that additionally accepts Mathematica-style iterator specs, e.g. Table(i^2, {i, 1, n}), and the equivalent tuple spelling Table(i^2, (i, 1, n)).
✓ checked against that system · ! checked, with disagreements (hover a chip)Fungrim
TableWolfram LanguageTable✓Table(expr, {i, lo, hi}), evaluated at each value of from to .Table(expr, {i, lo, hi, step})as above, stepping by instead of 1.Table(f, n)the same as Tabulate(f, n) — applied to each index from 1 to .Typed signatures
| Type | Package | Applies |
|---|---|---|
(function, integer, integer?) -> collection | compute-engine | always |
Details
{i, lo, hi}is[Set, i, lo, hi]in MathJSON, read here as an iterator spec rather than a set.- Holds its body: is evaluated fresh at each value of , not evaluated once and reused.
Examples
Basic #
About
| Examples | 5 |
|---|---|
| Checked against | Wolfram Language 2 agree |
| Crosswalk | FungrimWolfram Language |