MathGroup Archive 2007

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

Search the Archive

Re: Mapping a pure function with 2 conponents.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg77297] Re: Mapping a pure function with 2 conponents.
  • From: chuck009 <dmilioto at comcast.com>
  • Date: Wed, 6 Jun 2007 07:20:39 -0400 (EDT)

list={{0,1},{2,3},{4,5}};
Map[(#1[[1]]^2+#1[[2]])&,list]

Out[10]=
{1,7,21}


  • Prev by Date: question
  • Next by Date: Re: unevaluated expression
  • Previous by thread: Re: Mapping a pure function with 2 conponents.
  • Next by thread: Re: Mapping a pure function with 2 conponents.