Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*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 2005

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

Search the Archive

Re: how to map function with over 1 arguments to list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg57236] Re: how to map function with over 1 arguments to list
  • From: "Kezhao Zhang" <kezhao.zhang at gmail.com>
  • Date: Sat, 21 May 2005 02:40:38 -0400 (EDT)
  • References: <d6ka03$168$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

In this particular case, you may use Apply (at level 1):

f@@@{{1,1},{2,2}}
{2,4}

One way to use Map is
f[#[[1]],#[[2]]]&/@{{1,1},{2,2}}
{2,4}

Hope this helps.

K. Zhang


  • Prev by Date: Re: How to get an answer as a Root object?
  • Next by Date: How to Clear y'[0]
  • Previous by thread: Re: how to map function with over 1 arguments to list
  • Next by thread: Re: how to map function with over 1 arguments to list