Re: f + g
- To: mathgroup at smc.vnet.net
- Subject: [mg7160] Re: f + g
- From: Stephen P Luttrell <luttrell at signal.dra.hmg.gb>
- Date: Tue, 13 May 1997 01:57:59 -0400 (EDT)
- Organization: Defence Research Agency
- Sender: owner-wri-mathgroup at wolfram.com
>... > The sort of thing I > have in mind is a general rule such as > > (f_ + g_)[x_] := f[x] + g[x] >... How about using Through? For example: In[1]:= Through[(f+g)[x]] Out[1]= f[x]+g[x] ============================================================================= Dr Stephen P Luttrell luttrell at signal.dra.hmg.gb Adaptive Systems Theory 01684-894046 (phone) Room EX21, Defence Research Agency 01684-894384 (fax) Malvern, Worcs, WR14 3PS, U.K. http://www.dra.hmg.gb/cis5pip/Welcome.html