Mathematica > Assignments >

UpValues

UpValues[f]
gives a list of transformation rules corresponding to all upvalues defined for the symbol f.
  • You can specify the upvalues for f by making an assignment of the form UpValues[f]=list.
Define upvalues for a symbol g:
In[1]:=
Click for copyable input
These are the upvalues associated with g:
In[2]:=
Click for copyable input
Out[2]=
New in 2 | Last modified in 3
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team