DOCUMENTATION CENTER SEARCH
Mathematica
>
Functional Programming
>
Built-in
Mathematica
Symbol
Working with Operators
Tutorials »
|
Through
Apply
Heads
See Also »
|
Functional Programming
Structural Operations on Expressions
More About »
Operate
Operate
[
p
,
f
[
x
,
y
]]
gives
p
[
f
][
x
,
y
]
.
Operate
[
p
,
expr
,
n
]
applies
p
at level
n
in the head of
expr
.
MORE INFORMATION
Operate
[
p
,
f
[
x
]]
effectively applies the functional operator
p
to the function
f
.
Operate
is essentially a generalization of
Apply
, which allows you to apply an operator to the head of an expression, rather than simply to replace the head.
»
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Operate on the head of the expression with
p
:
In[1]:=
Out[1]=
Use a pure function:
In[1]:=
Out[1]=
Scope
(2)
Properties & Relations
(3)
SEE ALSO
Through
Apply
Heads
TUTORIALS
Working with Operators
MORE ABOUT
Functional Programming
Structural Operations on Expressions
New in 1
© 2008 Wolfram Research, Inc.