Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1997
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1997

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

Search the Archive

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


  • Prev by Date: Re: Font for Notebooks
  • Next by Date: Zippy Interface with Math files
  • Previous by thread: f + g
  • Next by thread: Re: f + g