"InertExpression" (Compiled Type)
"InertExpression"
represents an inert expression that is not automatically evaluated.
Details
- "InertExpression" objects are internally represented identically to Wolfram Language expressions.
- "InertExpression" objects are inert and will only evaluate on calls to InertEvaluate.
Constructors
- InertExpression[expr] constructs an inert expression object from the constant expr.
- Construct[head,expr1,expr2,…] combines the inert expressions head,expr1,expr2,… to construct head[expr1,expr2,…] as an inert expression. »
Properties
- InertEvaluate evaluates an inert expression. »
Conversions
- Inert expressions are automatically converted to and from expressions when passed between evaluated and compiled code. »
Expressions
Examples
open allclose allBasic Examples (2)
Scope (2)
Inert expressions are automatically converted to expressions and evaluated when returned from compiled code:
Construct an inert expression, wrapping it in Hold before returning from compiled code:
Properties & Relations (1)
Inert expressions can be evaluated with InertEvaluate: