WLJS LogoWLJS Notebook

StructuredArray

StructuredArray[st, {d1, d2, ...}, data] represents a d1×d2×… array with structure type st and specific content data.

Structured arrays efficiently store arrays with special structure (symmetric, antisymmetric, etc.).

Examples

StructuredArray[SymmetricMatrix, {3, 3}, {1, 2, 3, 4, 5, 6}]
StructuredArray[DiagonalMatrix, {3, 3}, {1, 2, 3}]
Normal[StructuredArray[SymmetricMatrix, {2, 2}, {a, b, c}]]

*See the official Wolfram Language Reference for more details.

On this page