MathGroup Archive 2004

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

Search the Archive

Re: Many Functions Into One

  • To: mathgroup at smc.vnet.net
  • Subject: [mg45523] Re: Many Functions Into One
  • From: "Drago Ganic" <drago.ganic at in2.hr>
  • Date: Mon, 12 Jan 2004 02:15:34 -0500 (EST)
  • References: <btps9u$bdt$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Bruce,
use this:
Through[{Mean, Variance}[X]]

drago

"Bruce W. Colletti" <bcolletti at compuserve.com> wrote in message
news:btps9u$bdt$1 at smc.vnet.net...
> 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: functions
  • Next by Date: Assuming/Block doesn't invoke $Post ?
  • Previous by thread: RE: Many Functions Into One
  • Next by thread: Assuming/Block doesn't invoke $Post ?