MathGroup Archive 2006

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

Search the Archive

how to compact many maps?


Hi,

For table of the following structure

tab=Table[{Random[],Random[]},{10},{5}]

I want to apply function f to the second argument of list.

I did:

(MapAt[f, #, 2] & /@ #) & /@ tab

How can I do it in a simpler, more compact way?

Thanks,

Arek


  • Prev by Date: Re: [TS 27522]--Re:Re: PageWidth option is not measured in characters
  • Next by Date: Re: Quizzes and Tests
  • Previous by thread: Re: [TS 27522]--Re:Re: PageWidth option is not measured in characters
  • Next by thread: Re: how to compact many maps?