InertEvaluate

InertEvaluate[inertExpr]

evaluates an "InertExpression", returning a new "InertExpression" in compiled code.

Details

Examples

open allclose all

Basic Examples  (1)

Compile a function that evaluates an "InertExpression" before returning its head:

Properties & Relations  (1)

Define a function in the Wolfram Engine:

Call the function from compiled code using InertEvaluate alongside Construct and InertExpression:

The same result can be accomplished using KernelFunction:

Possible Issues  (1)

Expressions continue to be evaluated after being returned from ReleaseHold:

In contrast, "InertExpression" returned by InertEvaluate continues to be inert:

Wolfram Research (2022), InertEvaluate, Wolfram Language function, https://reference.wolfram.com/language/ref/InertEvaluate.html.

Text

Wolfram Research (2022), InertEvaluate, Wolfram Language function, https://reference.wolfram.com/language/ref/InertEvaluate.html.

CMS

Wolfram Language. 2022. "InertEvaluate." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/InertEvaluate.html.

APA

Wolfram Language. (2022). InertEvaluate. Wolfram Language & System Documentation Center. Retrieved from 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: 18-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: 18-November-2024 ]}