MathGroup Archive 2005

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

Search the Archive

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


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