Re: Defining Operators
- To: mathgroup at smc.vnet.net
- Subject: [mg44757] Re: Defining Operators
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Tue, 25 Nov 2003 00:45:26 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <bpnl8b$6kj$1@bob.news.rcn.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
IntegrationOperator[f_][x_] := Block[{t}, Integrate[f[t], {t, 0, x}]]
IntegrationOperator[#^3 &][x]
??
Regards
Jens
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?
>
> Thanks for any insight.
>
> Cheers, Scott