
Condition 
范例
打开所有单元 关闭所有单元范围 (2)
属性和关系 (2)
可能存在的问题 (1)
Repeated[p /; test] 要求 p 中的每个命名模式在整个序列中都具有相同的值:
RepeatedNull 也是如此:
将 PatternTest 与未命名的模式结合使用,以允许使用一系列不相同的元素:
相关的工作流程
- 编写一个以未计算形式返回的函数
历史
1988年引入 (1.0)
文本
Wolfram Research (1988),Condition,Wolfram 语言函数,https://reference.wolfram.com/language/ref/Condition.html.
CMS
Wolfram 语言. 1988. "Condition." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/Condition.html.
APA
Wolfram 语言. (1988). Condition. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/Condition.html 年
BibTeX
@misc{reference.wolfram_2025_condition, author="Wolfram Research", title="{Condition}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/Condition.html}", note=[Accessed: 19-September-2025]}
BibLaTeX
@online{reference.wolfram_2025_condition, organization={Wolfram Research}, title={Condition}, year={1988}, url={https://reference.wolfram.com/language/ref/Condition.html}, note=[Accessed: 19-September-2025]}