Ask Your Question

Revision history [back]

Short answer: yes with

print "g = %r" % g

Other short answer: no, you can not (easily) do that automatically.

Note that you can define g as a symbolic function

sage: g(x,y) = f.diff(x)
sage: g
(x, y) |--> 2*x

Short answer: yes with

print "g = %r" % g

Other short answer: no, you can not cannot (easily) do that automatically.

Note that you can define g as a symbolic function

sage: g(x,y) = f.diff(x)
sage: g
(x, y) |--> 2*x