1 | initial version |
sage: function('f')(*(SR.symbol("x%s"%i) for i in range(n)))
f(x0, x1, x2)
2 | No.2 Revision |
There's a python trick to unpack an iterable into an argument list in a function call:
sage: function('f')(*(SR.symbol("x%s"%i) for i in range(n)))
f(x0, x1, x2)