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

Next Comment >Help | Reply To Topic
Author Comment/Response
Felipe B
10/11/12 3:18pm

Hi,

I have a function

myfunction[x_, y_, z_] := x^2 + y + z^2

I want to map it to these lists in the following way:

x z
1 5
2 6
3 7

hoping to get one list as follows

1^2 + y + 5^2
2^2 + y + 6^2
3^2 + y + 7^2


do you know the simplest , most transparent way to do this?

thank you very much for your help

Felipe


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
Next Comment >Help | Reply To Topic