SquareRepeatingElement

SquareRepeatingElement[spec]

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

SquareRepeatingElement[spec,max]

represents a square array of elements of maximum size max×max.

SquareRepeatingElement[spec,{min,max}]

represents a square array of elements of size between min and max.

Details

Examples

open allclose all

Basic Examples  (3)

Use SquareRepeatingElement to interpret a square matrix of data:

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

SquareRepeatingElement fails on data that is not square:

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

RectangularRepeatingElement  RepeatingElement  Interpreter  SquareMatrixQ

Introduced in 2017
(11.1)