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:

SquareRepeatingElement fails on data that is not square:

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)

SquareRepeatingElement 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 SquareRepeatingElement:

Use JSON to fill in the fields:

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

Text

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

BibTeX

@misc{reference.wolfram_2021_squarerepeatingelement, author="Wolfram Research", title="{SquareRepeatingElement}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/SquareRepeatingElement.html}", note=[Accessed: 21-June-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_squarerepeatingelement, organization={Wolfram Research}, title={SquareRepeatingElement}, year={2017}, url={https://reference.wolfram.com/language/ref/SquareRepeatingElement.html}, note=[Accessed: 21-June-2021 ]}

CMS

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

APA

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