Unitize

Unitize[x]

x 为0时,给出 0,当 x 为其它数值时,给出 1 .

更多信息

范例

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

基本范例  (2)

把数值转化成 0 值或 1 值 :

将矩阵中的值用 0 或 1代替:

显示一个强调结构的图形:

应用  (1)

确定一个稀疏矩阵是否结构性对称:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_unitize, organization={Wolfram Research}, title={Unitize}, year={2007}, url={https://reference.wolfram.com/language/ref/Unitize.html}, note=[Accessed: 18-November-2024 ]}