Interpretation

Interpretation[e, expr]
represents an object that displays as e, but is interpreted as the unevaluated form of expr if supplied as input.

Interpretation[{x=x0, y=y0, ...}, e, expr]
allows local variables x, y, ... in e and expr.

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

Specify an interpretation for a string:

In[1]:=
Click for copyable input
Out[1]=

Copy and paste the output above to use the string in calculations:

In[2]:=
Click for copyable input
Out[2]=

Specify scoped variables:

In[1]:=
Click for copyable input
Out[1]=

Copying and evaluating:

In[2]:=
Click for copyable input
Out[2]=
New in 6 | Last modified in 7
New to Mathematica? Find your learning path »
Have a question? Ask support »