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:

RectangularRepeatingElement fails on data that is not rectangular:

Use it in an APIFunction to collect complex data:

Scope  (2)

The second argument is used to limit the size of the input:

Limit the minimum size of the array:

Properties & Relations  (3)

RectangularRepeatingElement can be used in conjunction with any interpreter specification:

Including RepeatingElement:

And CompoundElement:

Possible Issues  (1)

Constructs like FormFunction and FormPage do not show a special interface for RectangularRepeatingElement:

Use JSON to fill in the fields:

Wolfram Research (2017), RectangularRepeatingElement, Wolfram Language function, https://reference.wolfram.com/language/ref/RectangularRepeatingElement.html.

Text

Wolfram Research (2017), RectangularRepeatingElement, Wolfram Language function, https://reference.wolfram.com/language/ref/RectangularRepeatingElement.html.

CMS

Wolfram Language. 2017. "RectangularRepeatingElement." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/RectangularRepeatingElement.html.

APA

Wolfram Language. (2017). RectangularRepeatingElement. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RectangularRepeatingElement.html

BibTeX

@misc{reference.wolfram_2023_rectangularrepeatingelement, author="Wolfram Research", title="{RectangularRepeatingElement}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/RectangularRepeatingElement.html}", note=[Accessed: 28-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_rectangularrepeatingelement, organization={Wolfram Research}, title={RectangularRepeatingElement}, year={2017}, url={https://reference.wolfram.com/language/ref/RectangularRepeatingElement.html}, note=[Accessed: 28-March-2024 ]}