Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: Help with map /@

  • To: mathgroup at smc.vnet.net
  • Subject: [mg128594] Re: Help with map /@
  • From: "djmpark" <djmpark at comcast.net>
  • Date: Thu, 8 Nov 2012 02:09:26 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • 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 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 /@