Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2003

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

Search the Archive

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


  • Prev by Date: Re: Log Equation
  • Next by Date: Re: Log Equation
  • Previous by thread: Re: Defining Operators
  • Next by thread: Re: Defining Operators