MathGroup Archive 2006

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

Search the Archive

Re: List Help Needed


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


  • Prev by Date: Controlling axes labels in 3D plots
  • Next by Date: Help !! problems with symbolize
  • Previous by thread: Re: List Help Needed
  • Next by thread: Re: List Help Needed