MathGroup Archive 2006

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

Search the Archive

Re: List Help Needed

  • To: mathgroup at smc.vnet.net
  • Subject: [mg68864] Re: [mg68845] List Help Needed
  • From: Adriano Pascoletti <pascolet at dimi.uniud.it>
  • Date: Mon, 21 Aug 2006 06:33:19 -0400 (EDT)
  • References: <200608210727.DAA27486@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

On 21 ago 2006, at 09:27, Nimrod wrote:

> What combination of Map, MapAt, ...
>
> will transform {{a,b},{c,d},...} to {{a,f[b]},{c,f[d]},...}
>
> Thanks in advance.
>
> Nimrod
>

MapAt[f, #, 2] & /@ {{a, b}, {c, d}, {e, f}} gives
{{a, f[b]}, {c, f[d]}, {e, f[f]}}

Adriano Pascoletti


  • Prev by Date: Re: List Help Needed
  • Next by Date: Re: List Help Needed
  • Previous by thread: Re: List Help Needed
  • Next by thread: Re: List Help Needed