EchoFunction

EchoFunction[f][expr]

打印 f[expr] 并返回 expr.

EchoFunction[label,f][expr]

label 后附加打印 f[expr] 同时返回 expr.

更多信息

范例

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

基本范例  (2)

打印中间结果的属性:

使用标签来报告属性:

范围  (2)

显示中间结果的属性:

用标签报告属性:

属性和关系  (5)

EchoFunctionEcho 的算符形式:

EchoFunction 的优先级低于函数运算:

EchoEchoLabel 的优先级低于添加标签运算:

以下情况互相等价:

EchoTiming 可用于显示中间计算的用时而不会影响结果:

1.000552`

EchoFunction 也可以用来显示用时,但是要做两次计算:

EchoFunctionQuietEcho 内被禁用:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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