#3021: add curl and divergence functions to vectors
-------------------------------------+-------------------------------------
Reporter: jason | Owner: was
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.2
Component: calculus | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/robertwb/ticket/3021 | 4e34d0d90624c54e233be003c460c3bbaf6e3dcf
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jason):
If your vectors are callable symbolic vectors, you should be able to get
the list of arguments from the base ring (since you've already explicitly
given an order to the variables):
{{{
sage: f(x,y,z)=(x*y,y*z,z^2)
sage: f
(x, y, z) |--> (x*y, y*z, z^2)
sage: type(f)
<class
'sage.modules.vector_callable_symbolic_dense.Vector_callable_symbolic_dense'>
sage: f.base_ring().arguments()
(x, y, z)
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/3021#comment:17>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.