Hi Kwankyu,

On 2019-02-26, Kwankyu Lee <ekwan...@gmail.com> wrote:
> Since my parent is in the category of modules over QQ, then I think 
> elements of the parent should be automatically treated as module elements, 
> and using `Element` should just be ok. 
>
> What do you think? 

I think that speed matters. I see merit in using specialised Cython base
classes for elements (not so much for parents). However, it might be
possible to move the functionality of module multiplication (i.e.,
multiplication of a base ring element with a module element) from
ModuleElement to Element without speed loss. Or perhaps somehow make
Modules.Elements (i.e., the fundament of Modules(...).element_class)
inherit from ModuleElement.

If someone implements it without speed loss, I wouldn't oppose.

Best regards,
Simon

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to