DiscreteIndicator
DiscreteIndicator[x,x1,{u1,u2,…}]
生成离散指示函数,如果 x=x1,它等于 1,否则如果对于某些 i 有 x=ui,它等于 0.
范例
打开所有单元关闭所有单元应用 (1)
属性和关系 (2)
Wolfram Research (2008),DiscreteIndicator,Wolfram 语言函数,https://reference.wolfram.com/language/ref/DiscreteIndicator.html.
文本
Wolfram Research (2008),DiscreteIndicator,Wolfram 语言函数,https://reference.wolfram.com/language/ref/DiscreteIndicator.html.
CMS
Wolfram 语言. 2008. "DiscreteIndicator." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/DiscreteIndicator.html.
APA
Wolfram 语言. (2008). DiscreteIndicator. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/DiscreteIndicator.html 年