Referring to http://trac.sagemath.org/sage_trac/ticket/3212, I have to
do a little cleaning up before submitting it for review, but have some
code for allowing rescaling of matrices by "logical" scalars not in
the base ring.  However, in order to do this, I need to return a copy,
not modify the original, and robertwb raises the point that perhaps
then rescale_row etc. should *always* return a copy, for
consistency.

I don't feel at all qualified to make this decision, and wanted some
feedback.  This seems like it could break other code which assumes
that a new reference doesn't have to be created, but of course this is
a place where inconsistency could be very confusing too.  Another
option is to scrap the idea altogether, but then we continue to have
the problem that one couldn't scale a row by an element of an
extension of the field of fractions of the base ring (e.g., one
couldn't scale a row of a matrix over QQ by I or \sqrt{2}).

Thanks for any feedback.

- kcrisman
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to