MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Defining Operators


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


  • Prev by Date: Re: Log Equation
  • Next by Date: Interpolation with random nodes
  • Previous by thread: Re: Defining Operators
  • Next by thread: Re: Defining Operators