1 | initial version |
I think that the short answer to your question is 'no'. However, to get the output of your example, you can still define f1
as the primitive of f2+f3
:
sage: f2 = function('f2', latex_name='f_2')
sage: f3 = function('f3', latex_name='f_3')
sage: f1(x) = integrate(f2(x)+f3(x), x)
sage: diff(f1(x), x)
f2(x) + f3(x)
sage: f1.derivative(x)
x |--> f2(x) + f3(x)