Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*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 2006

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

Search the Archive

how to compact many maps?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg70748] how to compact many maps?
  • From: Arkadiusz.Majka at gmail.com
  • Date: Thu, 26 Oct 2006 02:38:42 -0400 (EDT)

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?