MathGroup Archive 2012

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

Search the Archive

Re: Help with map /@


Ex = T1[x] + T2[y] + T3[z];
Ex /. function_[arg_] -> Integrate[function[arg], arg]

\[Integral]T1[x] \[DifferentialD]x + \[Integral]T2[
    y] \[DifferentialD]y + \[Integral]T3[z] \[DifferentialD]z


David Park
djmpark at comcast.net 
http://home.comcast.net/~djmpark/index.html 



From: KFUPM [mailto:hussain.alqahtani at gmail.com] 


Dear All

I have a this expression:

Ex= T1[x]+T2[y]+T3[z];

I want to integrate the first term with respect to x, the second w.r.t y and
the third with respect to z and then sum them all. I want to use the map
function (/@) or similar to do that for me automatically. Your help is
really appreciated.

HMQ




  • Prev by Date: Non Commutative Multiply
  • Next by Date: Quirks of EventHandler
  • Previous by thread: Re: Help with map /@
  • Next by thread: Re: Help with map /@