| 1 | initial version |
I usually think of a gradient as being a property of a single-variable function... but anyway, is this what you want?
sage: F.diff()
[(r, phi, theta) |--> -1/r^2 (r, phi, theta) |--> 0 (r, phi, theta) |--> 0]
[ (r, phi, theta) |--> 0 (r, phi, theta) |--> 0 (r, phi, theta) |--> 0]
[ (r, phi, theta) |--> 0 (r, phi, theta) |--> 0 (r, phi, theta) |--> 0]
sage: diff(F)
[(r, phi, theta) |--> -1/r^2 (r, phi, theta) |--> 0 (r, phi, theta) |--> 0]
[ (r, phi, theta) |--> 0 (r, phi, theta) |--> 0 (r, phi, theta) |--> 0]
[ (r, phi, theta) |--> 0 (r, phi, theta) |--> 0 (r, phi, theta) |--> 0]
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.