| Author |
Comment/Response |
Gideon
|
05/29/07 5:49pm
Hi All!
Here is my problem.
I have a function that takes three variables, say f[a_,b_,c_]:=a+b+c.
I also have a list, say, list=[{1,2,3,4,5}]
I want to apply this function to the list, in such a way, that only the first slot is changed, that is, for arbitrary b's and c's
Map[f,list] -> f[1,b,c]+f[2,b,c]+f[3,b,c]+f[4,b,c]+f[5,b,c]
Is this possible with the function Map or any other function? I would be grateful for any suggestion.
Gideon
URL: , |
|