Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: List Help Needed

  • To: mathgroup at smc.vnet.net
  • Subject: [mg68943] Re: List Help Needed
  • From: Peter Pein <petsie at dordos.net>
  • Date: Fri, 25 Aug 2006 05:34:54 -0400 (EDT)
  • References: <ecbo4l$r5j$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Nimrod schrieb:
> What combination of Map, MapAt, ...
> 
> will transform {{a,b},{c,d},...} to {{a,f[b]},{c,f[d]},...}
> 
> Thanks in advance.
> 
> Nimrod
> 
I don't know why the obvious
In[1]:= {#1,f[#2]}&@@@{{a,b},{c,d},{e,f}}
Out[1]= {{a,f[b]},{c,f[d]},{e,f[f]}}

is missing


  • Prev by Date: Re: Graph inside another graph
  • Next by Date: Matrix Multiplication (with a twist)
  • Previous by thread: Re: List Help Needed
  • Next by thread: AuthorTools Make Contents problem SOLVED