CreateDataStructure

数据结构列表 »

CreateDataStructure["type",arg1,arg2,]

创建指定类型的数据结构.

更多信息

  • 数据结构是用 Wolfram Compile 构建的.
  • 数据结构为保存和处理数据提供了高效的操作方式.
  • 某些数据结构提供 Wolfram 语言中的可变操作.

范例

基本范例  (1)

创建一个可以动态增长的数组:

高效地追加元素:

高效地进行元素提取:

高效地进行元素更新:

返回普通表达式形式:

Wolfram Research (2020),CreateDataStructure,Wolfram 语言函数,https://reference.wolfram.com/language/ref/CreateDataStructure.html.

文本

Wolfram Research (2020),CreateDataStructure,Wolfram 语言函数,https://reference.wolfram.com/language/ref/CreateDataStructure.html.

CMS

Wolfram 语言. 2020. "CreateDataStructure." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/CreateDataStructure.html.

APA

Wolfram 语言. (2020). CreateDataStructure. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/CreateDataStructure.html 年

BibTeX

@misc{reference.wolfram_2024_createdatastructure, author="Wolfram Research", title="{CreateDataStructure}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/CreateDataStructure.html}", note=[Accessed: 18-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_createdatastructure, organization={Wolfram Research}, title={CreateDataStructure}, year={2020}, url={https://reference.wolfram.com/language/ref/CreateDataStructure.html}, note=[Accessed: 18-November-2024 ]}