[sage-devel] Re: another matrix() corner case for sparse matrices

2008-03-26 Thread didier deshommes
On Wed, Mar 26, 2008 at 2:01 PM, Jason Grout <[EMAIL PROTECTED]> wrote: > > Ryan Hinton brought up a good point at #2651: > > Currently, matrix(3,{(1,1): 2}) gives the 3x2 sparse matrix > > [0 0] > [0 2] > [0 0] > > > However, for other cases, if we specify just the number of rows, the > re

[sage-devel] Re: another matrix() corner case for sparse matrices

2008-03-26 Thread William Stein
On Wed, Mar 26, 2008 at 11:01 AM, Jason Grout <[EMAIL PROTECTED]> wrote: > > Ryan Hinton brought up a good point at #2651: > > Currently, matrix(3,{(1,1): 2}) gives the 3x2 sparse matrix > > [0 0] > [0 2] > [0 0] > > > However, for other cases, if we specify just the number of rows, the > r