Mathematica 9 is now available

Operate

Usage

Operate[p, f[x, y]] gives p[f][x, y].
Operate[p, expr, n] applies p at level n in the head of expr.


Notes

• Examples: Operate[p, f[x,y]]LongRightArrow ; Operate[p, f[x][y][z], 1]LongRightArrow ; Operate[p, f[x][y][z], 2]LongRightArrow .
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.
• See Section 2.2.9.
• See also: Through, Apply, Heads.
• New in Version 1.


Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.