Dear all,

Is there a reason why Sage doesn't allow you to define vector
functions using the following short hand:

sage: Q = var('x, y, z')
sage: f(Q) = [x - z, y - z]
sage: f
Q |--> (x - z, y - z)

I would have expected/liked the last line to be

sage: f
(x, y, z) |--> (x - z, y - z)

This would help us to deal with vector functions in a more systematic
way.  More specifically, it would be a great help in FEM, Lagrangian/
Hamiltonian mechanics, etc, where you have one function to begin with,
which is then subjected to a great deal of easily formalizable
symbolic computations.

Looking forward to your comments!
Joris

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to