Hi,

I'm quite new to Sympy, so this is probably simple, but I couldn't find it 
in the documentation.  The documentation does a good job of explaining how 
you can define a new function, and specify how it should reduce on certain 
arguments.  But I couldn't see how to define new symbols and declare how 
they should act with respect to +, *, **, ...

For example, I was thinking of trying to implement ordinal arithmetic.  In 
that case, I would have, for example, new symbols omega and epsilon0, and 
would like omega**epsilon0 to evaluate to epsilon0.  Can that be 
accomplished?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" 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/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/47e6cc6a-f6dd-456e-9d4a-66ebeb9ab5ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to