Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #12272

Re: Help with map /@

From "djmpark" <djmpark@comcast.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Help with map /@
Date 2012-11-08 07:09 +0000
Message-ID <k7flru$jin$1@smc.vnet.net> (permalink)
References <17245496.43178.1352268143008.JavaMail.root@m06>
Organization Time-Warner Telecom

Show all headers | View raw


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@comcast.net 
http://home.comcast.net/~djmpark/index.html 



From: KFUPM [mailto:hussain.alqahtani@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

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Help with map /@ "djmpark" <djmpark@comcast.net> - 2012-11-08 07:09 +0000

csiph-web