MathGroup Archive 2012

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

Search the Archive

Re: Help with map /@

  • To: mathgroup at
  • Subject: [mg128594] Re: Help with map /@
  • From: "djmpark" <djmpark at>
  • Date: Thu, 8 Nov 2012 02:09:26 -0500 (EST)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • References: <17245496.43178.1352268143008.JavaMail.root@m06>

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 

From: KFUPM [mailto:hussain.alqahtani at] 

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.


  • 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 /@