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
- Follow-Ups:
- Re: how to compact many maps?
- From: János <janos.lobb@yale.edu>
- Re: how to compact many maps?