Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'map with several arguments' topicStudent Support Forum > General > Archives > "map with several arguments"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Bill Simpson
10/12/12 2:00pm

This will not stop Mathematica from adding the two squares of integers together, but perhaps it is acceptable

In[1]:= myfunction[x_,y_,z_]:=x^2+y+z^2;
Map[myfunction[#[[1]],y,#[[2]]]&,{{1,5},{2,6},{3,7}}]

Out[2]= {26+y,40+y,58+y}

URL: ,

Subject (listing for 'map with several arguments')
Author Date Posted
map with several arguments Felipe B 10/11/12 3:18pm
Re: map with several arguments Bill Simpson 10/12/12 2:00pm
Re: map with several arguments yehuda 10/12/12 5:05pm
Re: map with several arguments JamesF 10/12/12 9:33pm
Re: map with several arguments yehuda 10/14/12 02:34am
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic