MathGroup Archive 2004

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

Search the Archive

Re: Many Functions Into One


Through[{C1, C2}[x]]

{C1[x],C2[x]}

Bobby

From: Bruce W. Colletti (bcolletti at compuserve.com)
To: mathgroup at smc.vnet.net
Subject: [mg45521] Many Functions Into One

Let commands C1 and C2 have common argument X, e.g., C1 is Mean, C2 is
Variance and X is a list of reals.

Although C1@X and C2@X execute each, how can you merge these into a command
that uses X once?  I've seen this done but can't find the notes.

Thankx.

Bruce


  • Prev by Date: Re: Many Functions Into One
  • Next by Date: RE: Many Functions Into One
  • Previous by thread: Re: Many Functions Into One
  • Next by thread: RE: Many Functions Into One