CreateDataStructure

Listing of Data Structures »

CreateDataStructure["type",arg1,arg2,]

creates a data structure with the specified type.

Details

  • Data structures are built with the Wolfram Compiler.
  • Data structures provide efficient operations for holding and manipulating data.
  • Certain data structures provide mutable operations in the Wolfram Language.

Examples

Basic Examples  (1)

Create an instance of an array that grows dynamically:

Append is efficient:

Element extraction is efficient:

Element updating is efficient:

This returns the normal expression form:

Introduced in 2020
 (12.1)