creates an inert expression in compiled code.
- InertExpression is only available in compiled code.
- expr must be a constant value and must not contain any references to compiler variables. »
- InertExpression[expr] returns an object with the type "InertExpression".
- "InertExpression" objects returned by InertExpression are inert and will only evaluate on calls to InertEvaluate. 1866808414
Examplesopen allclose all
Construct an inert expression, wrapping it in Hold before returning from compiled code:
InertEvaluate can be used to request evaluation:
Properties & Relations (1)
Inert expressions can be evaluated with InertEvaluate:
Wolfram Research (2022), InertExpression, Wolfram Language function, https://reference.wolfram.com/language/ref/InertExpression.html.
Wolfram Language. 2022. "InertExpression." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/InertExpression.html.
Wolfram Language. (2022). InertExpression. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/InertExpression.html