InertEvaluate
InertEvaluate[inertExpr]
evaluates an "InertExpression", returning a new "InertExpression" in compiled code.
Details
- InertEvaluate is only available in compiled code.
- "InertExpression" returned by InertEvaluate is inert and will only continue to evaluate on subsequent calls to InertEvaluate. »
Examples
open allclose allBasic Examples (1)
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:
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