Table


 * This page is about the function that reshapes into a table. For the operator that generates a table of all combinations, see Outer Product.

, or Ravel Items, is a monadic primitive function which returns a matrix formed by applying Ravel to each major cell of the given array. Table shares its glyph  with the dyadic function Catenate First.

Examples
For arrays of rank 1 or higher, the result is identical to applying Ravel to major cells:

A scalar argument is converted to a 1-by-1 matrix:

Properties
Table preserves the array's Tally (the number of major cells).

Table is equivalent to reshaping with the shape where all trailing axis lengths have been replaced by their product or, alternatively, the tally concatenated to the bound divided by the tally:

In languages where the Rank operator is available, Table is equivalent to : In languages where function axis is available, Table is equivalent to :

Lessons

 * APL Cultivation

Documentation

 * Dyalog
 * J Vocabulary, NuVoc