Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Dynamic Interactivity > Generalized Input >

Interpretation

Updated In 7 Graphic
Interpretation[e, expr]
represents an object which 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.
  • Interpretation has attribute HoldAll, but evaluates e immediately after localizing variables. It makes expr be evaluated only when the Interpretation object is supplied as Mathematica input.
DeinitializationNonean expression to evaluate when the Interpretation can no longer be displayed
DynamicModuleValuesAutomaticdynamically updated data on variable values
InitializationNonean expression to evaluate when the Interpretation is first displayed
UnsavedVariables{}variables whose values should not be saved
Specify an interpretation for a string:
Copy and paste the output above to use the string in calculations:
Specify scoped variables:
Copying and evaluating:
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]=
Interpret a 2D graphic as a 3D graphic:
Copy, paste and evaluate the output above to get the resulting interpretation:
New in 6 | Last modified in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team