Re: List Help Needed
- To: mathgroup at smc.vnet.net
- Subject: [mg68885] Re: [mg68845] List Help Needed
- From: jmt <jmt at dxdydz.net>
- Date: Tue, 22 Aug 2006 05:20:20 -0400 (EDT)
- References: <200608210727.DAA27486@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
On Monday 21 August 2006 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 Try this : list = {{a, b}, {c, d}, {e, f}} g[{u_, v_}] = {u, f[v]} Map[g, list] Hope this helps, jmt
- References:
- List Help Needed
- From: Nimrod <jdedguard-agent@yahoo.co.uk>
- List Help Needed