QuantityUnit

QuantityUnit[quantity]

返回与指定 quantity 相关联的单位.

更多信息

范例

打开所有单元关闭所有单元

基本范例  (1)

给出 Quantity 的单位部分:

范围  (4)

从时间序列的 Quantity 表达式中获取单位:

QuantityUnit 返回 QuantityDistribution 的单位规范:

QuantityUnit 接受结构化数组,如 QuantityArraySymmetrizedArray 对象:

QuantityUnit 接受 SparseArrayAssociation 对象:

属性和关系  (4)

QuantityUnit 可对数量列表进行操作:

对于 NumericQ 参数,QuantityUnit 返回 "DimensionlessUnit"

QuantityUnit 返回混合 QuantityMixedUnit 规范:

QuantityUnit 总是返回标准形式的单位字符串:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_quantityunit, organization={Wolfram Research}, title={QuantityUnit}, year={2012}, url={https://reference.wolfram.com/language/ref/QuantityUnit.html}, note=[Accessed: 22-November-2024 ]}