MathGroup Archive 2006

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

Search the Archive

Re: List Operations


Thank you all for your help:
I took this one from Jean-Mark:

({#1[[1, 1]], Plus @@ #1[[2]]} &) /@ Transpose /@ Split[mylist /. {n_,
x_,
   y_} -> {n, x*y}, #1[[1]] == #2[[1]] &]

Regards,

LZ


  • Prev by Date: Need lower case in HTML save
  • Next by Date: Re: FindMinimum
  • Previous by thread: Re: List Operations
  • Next by thread: Re: List Operations