# Revision history [back]

### functions with vector inputs

Are vector functions supported in sage?

as in:

f1(r,phi,theta) = 1/r
f2(r,phi,theta) = 1
f3(r,phi,theta) = 1
F = vector([f1, f2, f3])


An ancient post seems to suggest that gradient has to be defined with a positional python-argument like gradient(*F).

Is there a way for "gradient" to take the vector symbolically as an argument?

### functions with vector inputs

Are vector functions supported in sage?

as in:

f1(r,phi,theta) = 1/r
f2(r,phi,theta) = 1
f3(r,phi,theta) = 1
F = vector([f1, f2, f3])