Re: Defining Operators
- To: mathgroup at smc.vnet.net
- Subject: [mg44751] Re: Defining Operators
- From: Roland Franzius <roland.franzius at uos.de>
- Date: Tue, 25 Nov 2003 00:45:19 -0500 (EST)
- Organization: Universitaet Hannover
- References: <bpnl8b$6kj$1@bob.news.rcn.net>
- Sender: owner-wri-mathgroup at wolfram.com
Scott Guthery wrote:
> I'd like to define an operator such as ...
>
> IntegrationOperator[f_] = Integrate[f, {t, 0, 1}]
>
> so that if ...
>
> g[x_, t_] = x t
>
> I could write something like ...
>
> h[x_] = IntegrationOperator[g][x]
>
> How does one accomplish this in Mathematica?
Try Derivative:
In[]:= Derivative[-1, -2][(#1^2 + 3 Sin[#2]^2 &)][x, y]
Out[]:=1/12*x*(9 + 2*x^2)*y^2 + 3/8*x*Cos[2*y]
--
Roland Franzius