[sage-support] Re: [sage-devel] Re: a sage bug

2015-07-12 Thread David Roe
> By the way, does anybody know what the deal is with: "Please forgive > me to send it to you for I am in China and have a problem to access > Google groups." > > Do most people in China really not have access to Google groups? If > so, that's a very good reason for us to consider at least some so

[sage-support] Re: [sage-devel] Re: a sage bug

2015-07-12 Thread kcrisman
Do most people in China really not have access to Google groups? If > so, that's a very good reason for us to consider at least some sort of > alternative way to access the groups. > > Apparently it's not always so easy for a variety of things, based on comments on person has often made on a

[sage-support] Re: [sage-devel] Re: a sage bug

2015-07-12 Thread William Stein
Thanks Ralf! By the way, does anybody know what the deal is with: "Please forgive me to send it to you for I am in China and have a problem to access Google groups." Do most people in China really not have access to Google groups? If so, that's a very good reason for us to consider at least some

[sage-support] Re: a sage bug

2015-07-12 Thread Ralf Stephan
On Sunday, July 12, 2015 at 2:34:56 PM UTC+2, Stein William wrote: > -- Forwarded message -- > From: ruiming zhang > Date: Sunday, July 12, 2015 > Subject: a sage bug > To: wst...@math.washington.edu > > ... > e=x+1<=x-2 > e*(-1) > -x-1<=-x+2, This is known and has a fix. Only th

[sage-support] Re: bug: adding a number to matrix

2015-07-12 Thread Dominique Laurain
When working with nxn matrix, writing a scalar (= a number if you name "numbers" matrix elements) like 'a' is the same than writing 'aI' where I is identity matrix with 1 in diagonal and 0 for other elements) or writing the diagonal matrix with a in diagonal and 0 for other elements) addition

[sage-support] Fwd: a sage bug

2015-07-12 Thread William A Stein
-- Forwarded message -- From: *ruiming zhang* Date: Sunday, July 12, 2015 Subject: a sage bug To: wst...@math.washington.edu Dear Professor Stein, If you try in sage 6.7 e=x+1<=x-2 e*(-1) you get -x-1<=-x+2, which is bad. Please forgive me to send it to you for I am in Chin

Re: [sage-support] bug: adding a number to matrix

2015-07-12 Thread John Cremona
On 12 July 2015 at 11:57, avi kaur wrote: > Hello > > I figured out that when we add a number to a matrix, It adds this > number to all the elements at diagonal of matrix. for example: > > sage: a > [ 1 2 2 6] > [ 4 6 2 5] > [56 7 4 8] > [ 8 3 9 6] > sage: a + 2 > [ 3 2 2 6] > [ 4

[sage-support] Re: bug: adding a number to matrix

2015-07-12 Thread Simon King
Hi Avi, On 2015-07-12, avi kaur wrote: > Hello > > I figured out that when we add a number to a matrix, It adds this > number to all the elements at diagonal of matrix. for example: That's the expected behaviour. If R is a commutative ring and M is the ring of all nxn matrices over R, then we ca

[sage-support] bug: adding a number to matrix

2015-07-12 Thread avi kaur
Hello I figured out that when we add a number to a matrix, It adds this number to all the elements at diagonal of matrix. for example: sage: a [ 1 2 2 6] [ 4 6 2 5] [56 7 4 8] [ 8 3 9 6] sage: a + 2 [ 3 2 2 6] [ 4 8 2 5] [56 7 6 8] [ 8 3 9 8] As you can see in above examp