InertEvaluate

InertEvaluate[inertExpr]

在编译代码中计算 "InertExpression",返回新的 "InertExpression".

更多信息

范例

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

基本范例  (1)

编译一个函数,在返回其标头前对 "InertExpression" 进行计算:

属性和关系  (1)

在 Wolfram Engine 中定义一个函数:

InertEvaluate 一起 ConstructInertExpression 一起使用,从编译代码中调用该函数:

可用 KernelFunction 获得相同的结果:

可能存在的问题  (1)

ReleaseHold 返回后将继续对表达式进行计算:

与之相反的是,InertEvaluate 返回的 "InertExpression" 依然是惰性的:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_inertevaluate, organization={Wolfram Research}, title={InertEvaluate}, year={2022}, url={https://reference.wolfram.com/language/ref/InertEvaluate.html}, note=[Accessed: 23-November-2024 ]}