RectangularRepeatingElement

RectangularRepeatingElement[elem]

represents a rectangular array of elements of type spec in an interpreter, API or form specification.

RectangularRepeatingElement[elem,{maxrows,maxcolumns}]

represents a rectangular array of elements of maximum size maxrows×maxcolums.

RectangularRepeatingElement[elem,{{minrows,maxrows},{mincolumns,maxcolumns}}]

represents a rectangular array of elements of dimensions between minrows×mincolumns and maxrows×maxcolums.

Details

Examples

open allclose all

Basic Examples  (3)

Use RectangularRepeatingElement to interpret a matrix of data:

In[1]:=
Click for copyable input
Out[1]=

RectangularRepeatingElement fails on data that is not rectangular:

In[1]:=
Click for copyable input
Out[1]=

Use it in an APIFunction to collect complex data:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Scope  (2)

Properties & Relations  (3)

Possible Issues  (1)

See Also

SquareRepeatingElement  RepeatingElement  Interpreter

Introduced in 2017
(11.1)