实体组

实体组[{实体1,实体2,}]

表示一组实体。

细节

  • 实体组允许对实体组进行操作,例如查找一组不同国家的总人口。
  • 实体通常指定为实体[类型,规范名称]。当前可用实体类型的列表由实体值[].
  • 实体可以使用接口。

示例

全部打开全部关闭

基本示例  (3)

给出一组国家的总人口:

给出混合类型实体的总人口:

给出所有行星的总质量:

应用  (2)

提供使用不同物理量指定的化学品组合的总质量:

添加货币面额:

添加不同货币体系的货币面额:

属性和关系  (2)

实体组属于n个的副本实体等于实体副本[实体, n个]:

实体可以作为实体类给出:

当提供实体的显式列表时,结果是相同的:

可能的问题  (2)

定义包含不同类型实体的组时,不会考虑一个域可能包含在另一个域中:

相关物理量不广泛的属性缺少[]:

Wolfram Research(2015),EntityGroup,Wolfram语言函数,https://reference.wolfram.com/language/ref/EntityGroup.html。

文本

Wolfram Research(2015),EntityGroup,Wolfram语言函数,https://reference.wolfram.com/language/ref/EntityGroup.html。

CMS公司

沃尔夫拉姆语言。2015年,“实体集团”,Wolfram语言与系统文档中心。Wolfram研究。https://reference.wolfram.com/language/ref/EntityGroup.html。

亚太地区

沃尔夫拉姆语言。(2015). 实体组。Wolfram语言与系统文档中心。检索自https://reference.wolfram.com/language/ref/EntityGroup.html

BibTeX公司

@misc{reference.wolfram_2024_entitygroup,author=“wolfram Research”,title=“{entitygroup}”,year=“2015”,howpublished=“\url{https://reference.wolfram.com/language/ref/entitygroup.html}”]}

BibLaTeX公司

@online{reference.wolfram_2024_entitygroup,organization={wolfram Research},title={entitygroup},year={2015},url={https://reference.jolfram.com/language/ref/entitygroup.html},note=[访问时间:2024年5月27日]}