On 2018-06-06 00:39, Nils Bruin wrote:
Would it be a problem to splice in a cdef class somewhere that provides
cdef attributes for _nrows and _ncols and then provides python-level
methods to access these values from python?

One thing which could work is to create an abstract base class for MatrixSpace providing that.

Then the inheritance structure would be like

cdef class MatrixSpace_base(Parent)

cdef class MatrixSpace(UniqueRepresentation, MatrixSpace_base)

This shouldn't be too hard, but I'd like to finish some other matrix-related tickets first.

--
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