| Author |
Comment/Response |
Daniele Lupo
|
09/17/05 02:44am
Yoy can apply function Plus in this way
Plus@@list
Plus is the equivalent of +, and it need many arguments
Plus[a,f,b,...]
It does not work if the argument is a list
Plus[{a,b,f,...}]
so, the @@ operator works in this way
f@@{a,b,c} -> f[a,b,c]
and you've elements of the list as arguments, not the entire list that it's different (it's an unique list argument).
I hope that it can help you
Daniele
URL: , |
|