I want to pass a list of input arguments to a function. Something like:
list = {a1, a2, a3};
expression = a1 + a2^2 + a3^2;
f = Function[list, Evaluate[expression]];
and f[1,2,3] must evaluate to 14. Is there any way to use the list for f instead of using
f = Function[{a1,a2,a3}, Evaluate[expression]]