MathGroup Archive 2004

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

Search the Archive

Re: Many Functions Into One


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 ?