PRODUCTS
PURCHASE
FOR USERS
COMPANY
OUR SITES
DOCUMENTATION CENTER SEARCH
Mathematica
>
Assignments
>
Built-in
Mathematica
Symbol
Manipulating Value Lists
Tutorials »
|
UpSet
Set
DownValues
HoldAllComplete
ClearAll
Information
Save
See Also »
|
Assignments
Symbol Handling
More About »
UpValues
UpValues
[
f
]
gives a list of transformation rules corresponding to all upvalues defined for the symbol
f
.
MORE INFORMATION
You can specify the upvalues for
f
by making an assignment of the form
UpValues[
f
]=
list
.
The list returned by
UpValues
has elements of the form
HoldPattern
[
lhs
]:>
rhs
.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
Define upvalues for a symbol
g
:
In[1]:=
These are the upvalues associated with
g
:
In[2]:=
Out[2]=
Scope
(2)
Applications
(1)
Properties & Relations
(3)
SEE ALSO
UpSet
Set
DownValues
HoldAllComplete
ClearAll
Information
Save
TUTORIALS
Manipulating Value Lists
MORE ABOUT
Assignments
Symbol Handling
New in 2 | Last modified in 3
© 2008 Wolfram Research, Inc.