[sage-devel] Re: Improving rescaling of matrices

2008-06-02 Thread kcrisman
> > >> Maybe rescale_row and rescale_col should retain their current > >> semantics, and we should have new methods with_rescaled_row and > >> with_rescaled_col that always return a modified copy and never modify > >> the original.  Then rescale_row and rescale_col could catch the type > >> error

[sage-devel] Re: Improving rescaling of matrices

2008-06-02 Thread Jason Grout
William Stein wrote: > On Mon, Jun 2, 2008 at 7:17 AM, Jason Grout <[EMAIL PROTECTED]> wrote: >> kcrisman wrote: >>> 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

[sage-devel] Re: Improving rescaling of matrices

2008-06-02 Thread Robert Bradshaw
On Jun 2, 2008, at 10:19 AM, William Stein wrote: > > On Mon, Jun 2, 2008 at 10:17 AM, Carl Witty <[EMAIL PROTECTED]> > wrote: >> >> On Jun 2, 9:31 am, "William Stein" <[EMAIL PROTECTED]> wrote: >>> On Mon, Jun 2, 2008 at 7:17 AM, Jason Grout >> [EMAIL PROTECTED]> wrote: >>> kcrisman wrote

[sage-devel] Re: Improving rescaling of matrices

2008-06-02 Thread William Stein
On Mon, Jun 2, 2008 at 10:17 AM, Carl Witty <[EMAIL PROTECTED]> wrote: > > On Jun 2, 9:31 am, "William Stein" <[EMAIL PROTECTED]> wrote: >> On Mon, Jun 2, 2008 at 7:17 AM, Jason Grout <[EMAIL PROTECTED]> wrote: >> >> > kcrisman wrote: >> >> Referring tohttp://trac.sagemath.org/sage_trac/ticket/321

[sage-devel] Re: Improving rescaling of matrices

2008-06-02 Thread Carl Witty
On Jun 2, 9:31 am, "William Stein" <[EMAIL PROTECTED]> wrote: > On Mon, Jun 2, 2008 at 7:17 AM, Jason Grout <[EMAIL PROTECTED]> wrote: > > > kcrisman wrote: > >> Referring tohttp://trac.sagemath.org/sage_trac/ticket/3212, I have to > >> do a little cleaning up before submitting it for review, but

[sage-devel] Re: Improving rescaling of matrices

2008-06-02 Thread William Stein
On Mon, Jun 2, 2008 at 7:17 AM, Jason Grout <[EMAIL PROTECTED]> wrote: > > kcrisman wrote: >> 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" sca

[sage-devel] Re: Improving rescaling of matrices

2008-06-02 Thread Jason Grout
kcrisman wrote: > 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