MathGroup Archive 2005

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

Search the Archive

Improper use of slot


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