Products
  • Wolfram|One

    The definitive Wolfram Language and notebook experience

  • Mathematica

    The original technical computing environment

  • System Modeler

    Multidomain modeling and simulation of complex systems

  • Compute ServicesUse with Mathematica and Wolfram|One
  • AI AccessUse with Mathematica and Wolfram|One
  • Finance Platform
  • Wolfram|Alpha Notebook Edition
  • Application Server
  • Enterprise Private Cloud
  • Wolfram Engine
  • Wolfram Player
  • Wolfram Cloud App
  • Wolfram Player App

More mobile apps

Wolfram|Alpha

  • Wolfram|Alpha Website
  • Wolfram|Alpha APIs

AI Products

  • Wolfram AI Ecosystem
  • Wolfram Foundation Tool
  • Wolfram Cloud MCP
  • Wolfram Local MCP
  • Agent One API
  • CAG Component APIs

Core Technologies of Wolfram Products

  • Wolfram Language
  • Computable Data
  • Wolfram Notebooks
  • Linguistic Understanding

Additional Deployment Options

  • Wolfram Cloud
  • Wolfram Web Engine
  • wolframscript
  • WSTPServer
  • Group & Organizational Licensing
  • All Products
Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

Wolfram Consulting

Data Science, Finance & Business

  • Artificial Intelligence
  • Data Science
  • Healthcare
  • Real Estate

Engineering

  • Civil Engineering
  • Automotive Engineering
  • Sustainable Energy

Science & Technology

  • AgTech
  • Biosciences
  • Environmental Science
  • Food Science
  • Quantum Computation
  • Social and Behavioral Sciences

More Wolfram Solutions

Technology for Education

  • Research Universities
  • Colleges & Teaching Universities
  • High Schools
  • Resources for Students

Education Initiatives

  • Next-Gen EdTech
  • Computer-Based Math

More Solutions for Education

  • Contact Us
Learning & Support

Get Started

  • Wolfram Language Introduction
  • Fast Intro for Programmers
  • Fast Intro for Math Students
  • Wolfram Language Documentation

More Learning

  • Highlighted Core Areas
  • Demonstrations
  • YouTube
  • Daily Study Groups
  • Wolfram Schools and Programs
  • Books

Grow Your Skills

  • Wolfram U

    Courses in computing, science, life and more

  • Community

    Learn, solve problems and share ideas.

  • Blog

    News, views and insights from Wolfram

  • Resources for

    Software Developers

Tech Support

  • Contact Us
  • Support FAQs
  • Support FAQs
  • Contact Us
Company
  • About Wolfram
  • Career Center
  • All Sites & Resources
  • Connect & Follow
  • Contact Us

Work with Us

  • Student Ambassador Initiative
  • Wolfram for Startups
  • Student Opportunities
  • Jobs Using Wolfram Language

Educational Programs for Adults

  • Summer School
  • Winter School

Educational Programs for Youth

  • Middle School Camp
  • High School Research Program
  • Computational Adventures

Read

  • Stephen Wolfram's Writings
  • Wolfram Blog
  • Wolfram Tech | Books
  • Wolfram Media
  • Complex Systems

Educational Resources

  • Wolfram MathWorld
  • Wolfram in STEM
  • Wolfram Challenges
  • Wolfram Problem Generator

Wolfram Initiatives

  • Wolfram Science
  • Wolfram Foundation
  • History of Mathematics Project

Events

  • Stephen Wolfram Livestreams
  • Online & In-Person Events
  • Contact Us
  • Connect & Follow
For AIs
  • Your Account
  • User Portal
  • Wolfram Cloud
  • Products
    • Wolfram|One
    • Mathematica
    • System Modeler
    • Compute ServicesUse with Mathematica and Wolfram|One
    • AI AccessUse with Mathematica and Wolfram|One
    • Finance Platform
    • Wolfram|Alpha Notebook Edition
    • Application Server
    • Enterprise Private Cloud
    • Wolfram Engine
    • Wolfram Player
    • Wolfram Cloud App
    • Wolfram Player App

    More mobile apps

    • Wolfram|Alpha
      • Wolfram|Alpha Website
      • Wolfram|Alpha APIs
    • AI Products
      • Wolfram AI Ecosystem
      • Wolfram Foundation Tool
      • Wolfram Cloud MCP
      • Wolfram Local MCP
      • Agent One API
      • CAG Component APIs
    • Core Technologies
      • Wolfram Language
      • Computable Data
      • Wolfram Notebooks
      • Linguistic Understanding
    • Additional Deployment Options
      • Wolfram Cloud
      • Wolfram Web Engine
      • wolframscript
      • WSTPServer
    • Group & Organizational Licensing
    • All Products
  • Consulting & Solutions
    • Wolfram Consulting

    Data Science, Finance & Business

    • Artificial Intelligence
    • Data Science
    • Healthcare
    • Real Estate

    Engineering

    • Civil Engineering
    • Automotive Engineering
    • Sustainable Energy

    Science & Technology

    • AgTech
    • Biosciences
    • Environmental Science
    • Food Science
    • Quantum Computation
    • Social and Behavioral Sciences

    More Wolfram Solutions

    Technology for Education

    • Research Universities
    • Colleges & Teaching Universities
    • High Schools
    • Resources for Students

    Education Initiatives

    • Next-Gen EdTech
    • Computer-Based Math

    More Solutions for Education

    • Contact Us
  • Learning & Support

    Get Started

    • Wolfram Language Introduction
    • Fast Intro for Programmers
    • Fast Intro for Math Students
    • Wolfram Language Documentation

    Grow Your Skills

    • Wolfram U

      Courses in computing, science, life and more

    • Community

      Learn, solve problems and share ideas.

    • Blog

      News, views and insights from Wolfram

    • Resources for

      Software Developers
    • Tech Support
      • Contact Us
      • Support FAQs
    • More Learning
      • Highlighted Core Areas
      • Demonstrations
      • YouTube
      • Daily Study Groups
      • Wolfram Schools and Programs
      • Books
    • Support FAQs
    • Contact Us
  • Company
    • About Wolfram
    • Career Center
    • All Sites & Resources
    • Connect & Follow
    • Contact Us

    Work with Us

    • Student Ambassador Initiative
    • Wolfram for Startups
    • Student Opportunities
    • Jobs Using Wolfram Language

    Educational Programs for Adults

    • Summer School
    • Winter School

    Educational Programs for Youth

    • Middle School Camp
    • High School Research Program
    • Computational Adventures

    Read

    • Stephen Wolfram's Writings
    • Wolfram Blog
    • Wolfram Tech | Books
    • Wolfram Media
    • Complex Systems
    • Educational Resources
      • Wolfram MathWorld
      • Wolfram in STEM
      • Wolfram Challenges
      • Wolfram Problem Generator
    • Wolfram Initiatives
      • Wolfram Science
      • Wolfram Foundation
      • History of Mathematics Project
    • Events
      • Stephen Wolfram Livestreams
      • Online & In-Person Events
    • Contact Us
    • Connect & Follow
  • For AIs
  • Wolfram Cloud
  • Your Account
  • User Portal
Wolfram Language & System Documentation Center
StructuredArray
  • See Also
    • SymmetrizedArray
    • Normal
    • SparseArray
    • Array
    • Dataset
    • See Also
      • SymmetrizedArray
      • Normal
      • SparseArray
      • Array
      • Dataset

StructuredArray[st,{d1,d2,…},data]

represents a d1×d2×… array with structure type st and specific content data.

Details
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
Properties & Relations  
See Also
History
Cite this Page
OBSOLETE SYMBOL
  • See Also
    • SymmetrizedArray
    • Normal
    • SparseArray
    • Array
    • Dataset
    • See Also
      • SymmetrizedArray
      • Normal
      • SparseArray
      • Array
      • Dataset

StructuredArray

As of Version 12.1, the generic StructuredArray object has been superseded by individual types such as QuantityArray and SymmetrizedArray.

StructuredArray[st,{d1,d2,…},data]

represents a d1×d2×… array with structure type st and specific content data.

Details

  • A structured array object created in earlier versions of the Wolfram Language will be converted to an appropriate, type-specific object upon evaluation.
  • Normal[sa] gives the ordinary array corresponding to a structured array object.
  • SparseArray[sa] gives a sparse array corresponding to a structured array object.
  • The elements in a structured array need not be numeric.
  • The individual elements of a structured array cannot themselves be lists.
  • List and matrix operations are typically set up to work as they do for corresponding normal array.
  • Functions with attribute Listable are automatically threaded over the individual elements of the ordinary arrays represented by structured arrays. If the function is not supported for the structure type, then the result will be returned as an ordinary or sparse array.
  • Part extracts specified parts of the array represented by a structured array object, rather than parts of the expression itself.
  • Structured arrays are treated as a raw object by functions like AtomQ and for purposes of pattern matching.
  • Dimensions gives the dimensions of a structured array.

Examples

open all close all

Basic Examples  (3)

StructuredArray objects from versions prior to 12.1 are converted to new, specific types:

Wolfram Language code: StructuredArray[SymmetrizedArray, {4, 4, 4, 4}, StructuredArray`StructuredData[SymmetrizedArray, {{1, 1, 1, 1} -> 1, {1, 1, 2, 2} -> 3, {1, 1, 3, 3} -> 4, {1, 1, 4, 4} -> 5, {2, 2, 2, 2} -> 1, {2, 2, 3, 3} -> 5, {2, 2, 4, 4} -> 6, {3, 3, 3, 3} -> 1, {3, 3, 4, 4} -> 7, {4, 4, 4, 4} -> 1}, Symmetric[{1, 2, 3, 4}]]]

Create a list containing both sparse and structured arrays:

Wolfram Language code: {QuantityArray[{1, 2}, "Meters"], SparseArray[{1, 2}], SymmetrizedArray[{1, 2}]}

Normalize the structured arrays but not the sparse array in this list:

Wolfram Language code: Normal[%, StructuredArray]

Represent an array based on symmetries:

Wolfram Language code: s = SymmetrizedArray[{{i_, i_, i_, i_} -> 1, {i_, i_, j_, j_} :> i + j}, {4, 4, 4, 4}, {Symmetric[{1, 2, 3, 4}]}]

Convert it to the ordinary representation:

Wolfram Language code: Normal[s]

Compare the memory required for the two representations:

Wolfram Language code: ByteCount /@ {%, s}

Scope  (2)

By default, ArrayDepth computes depths for all types of arrays:

Wolfram Language code: ArrayDepth[{{1, 2}, QuantityArray[{10, 20}, "Seconds"]}]

Compute depths only for List objects, so the QuantityArray object is considered to have depth 0:

Wolfram Language code: ArrayDepth[{{1, 2}, QuantityArray[{10, 20}, "Seconds"]}, AllowedHeads -> {List}]

Compute depths for both lists and structured array objects:

Wolfram Language code: ArrayDepth[{{1, 2}, QuantityArray[{10, 20}, "Seconds"]}, AllowedHeads -> {List | StructuredArray}]

Represent an array based on symmetries:

Wolfram Language code: s = SymmetrizedArray[{{i_, i_, i_} -> 1, {i_, j_, k_} :> x * (i + y * (j + k))}, {3, 3, 3}, Symmetric[{1, 3}]]

Multiply each element of the array by 2:

Wolfram Language code: s2 = 2 s

Add the two arrays:

Wolfram Language code: s + s2

Subtract from 3s and convert to a sparse array:

Wolfram Language code: SparseArray[3 s - %]

Differentiate the array with respect to x; the symmetry is preserved:

Wolfram Language code: D[s, x]
Wolfram Language code: Normal[%]

Properties & Relations  (1)

Use MatrixForm and TableForm to display all the entries of a StructuredArray:

Wolfram Language code: sa = SymmetrizedArray[{{1, 1} -> a, {1, 3} -> b, {3, 3} -> c}, {3, 3}, Symmetric[{1, 2}]]
Wolfram Language code: sa//MatrixForm
Wolfram Language code: sa//TableForm

See Also

SymmetrizedArray  Normal  SparseArray  Array  Dataset

History

Introduced in 2012 (9.0)

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2026_structuredarray, author="Wolfram Research", title="{StructuredArray}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/StructuredArray.html}", note=[Accessed: 01-September-2026]}

BibLaTeX

@online{reference.wolfram_2026_structuredarray, organization={Wolfram Research}, title={StructuredArray}, year={2012}, url={https://reference.wolfram.com/language/ref/StructuredArray.html}, note=[Accessed: 01-September-2026]}

Top
Introduction for Programmers
Introductory Book
Wolfram Function Repository | Wolfram Data Repository | Wolfram Data Drop | Wolfram Language Products
Top
  • Products
  • Wolfram|One
  • Mathematica
  • AI Access
  • Compute Services
  • System Modeler

  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps

  • Wolfram Engine
  • Wolfram Player

  • Volume & Site Licensing
  • Server Deployment Options
  • Consulting
  • Wolfram Consulting
  • Repositories
  • Data Repository
  • Function Repository
  • Community Paclet Repository
  • Neural Net Repository
  • Prompt Repository

  • Wolfram Language Example Repository
  • Notebook Archive
  • Wolfram GitHub
  • Learning
  • Wolfram U
  • Wolfram Language Documentation
  • Webinars & Training
  • Educational Programs

  • Wolfram Language Introduction
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Books

  • Wolfram Community
  • Wolfram Blog
  • Public Resources
  • Wolfram|Alpha
  • Wolfram Problem Generator
  • Wolfram Challenges

  • Computer-Based Math
  • Computational Thinking
  • Computational Adventures

  • Demonstrations Project
  • Wolfram Data Drop
  • MathWorld
  • Wolfram Science
  • Wolfram Media Publishing
  • Customer Resources
  • Store
  • Product Downloads
  • User Portal
  • Your Account
  • Organization Access

  • Support FAQ
  • Contact Support
  • Company
  • About Wolfram
  • Careers
  • Contact
  • Events
Wolfram Community Wolfram Blog
Legal & Privacy Policy
WolframAlpha.com | WolframCloud.com
© 2026 Wolfram
© 2026 Wolfram | Legal & Privacy Policy |
English