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

MathGroup Archive 2005

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

Search the Archive

Improper use of slot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg58754] Improper use of slot
  • From: "Robert G. Wilson v" <rgwv at rgwv.com>
  • Date: Sun, 17 Jul 2005 03:04:04 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Help, I am trying to 'pipe' into Binomial[] two arguments which are taken from
a list, say lst. I could do something like:

... lst= ...; Binomial[ Max[lst], Min[lst]]

but I was hoping for something a little bit more elegant like:

Binomial[ Last[#], First[#]] & /@ lst

but that dog wont hurt. Any suggestions?

Thank you in advance.

Bob Wilson.


  • Prev by Date: Modeling and Array Problem
  • Next by Date: Re: Modeling and Array Problem
  • Previous by thread: Modeling and Array Problem
  • Next by thread: Re: Improper use of slot