MathGroup Archive 2006

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

Search the Archive

Re: how to compact many maps?


Thank you all for your hints! Of course, the replacement rule....!

Have a beautiful weekend!

A.



Arkadiusz.Majka at gmail.com napisal(a):
> 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: binary units to units package
  • Next by Date: Searching for a function
  • Previous by thread: RE: how to compact many maps?
  • Next by thread: Re: Defining two functions at once?