NonNegative

NonNegative[x]

用来判断 x 是否是一个非负数,若是则返回 True.

更多信息

  • 如果 x 明显是一个负数或复数值,NonNegative[x] 返回 False. 否则保持不计算的形式.

范例

基本范例  (1)

不同类型的数的运算:

NumericQ 的分位数保持不计算的形式:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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