Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Implementing a new Ring and its elements.

Hi,

Say I have a class which I defined as class MyRing(Ring): ...

And another class which I defined as: class MyRingElements(SageObject): ...

I've read the material on Coercion so that I can create the operations of + and * on my ring, but what do I have to do to MyRingElements or MyRing to let them know who their parents and elements are?

Thanks.