I created http://code.google.com/p/sympy/issues/detail?id=3366 for the
DummyFunction.  I guess what you want perhaps is doable, but even the
physics or diff geom stuff will either be hacks, or limited.  We
really should have support for arbitrary operators on functions in the
core of SymPy.

Also, users shouldn't have to know physics or differential geometry to use it.

On Sat, Aug 18, 2012 at 5:21 PM, [email protected]
<[email protected]> wrote:
> However the commutator in the diffgeom module is between differential
> operators. It is not exactly what you ask for. Actually I do not
> understand how "x" acts on anything in your example as it is not a
> differential operator (it can be regarded as a hermitian operator as
> in quantum mechanics "acting" simply by multiplication, however this
> requires to much magic for the moment)

IMHO, this should be represented as x*Id, even with core operator
support. Ambiguous notation is nice for hand written stuff, but it's
better to use completely unambiguous notation when using a computer
algebra system.

Aaron Meurer

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to