[sage-support] Re: While computing Smith normal form, I got bitten

2014-01-24 Thread Simon King
Hi Saul, On 2014-01-23, Saul Schleimer saul...@gmail.com wrote: It seems to me that this violates the principle of least surprise: if I have a unit in a ring, and I invert it, I can reasonably expect answer to be a unit, in that ring... Yes and no. If you have an integral domain, you can

[sage-support] Re: While computing Smith normal form, I got bitten

2014-01-24 Thread Saul Schleimer
Hi Simon - Nice to hear from you. This discussion of morphisms is pretty convincing. I tried it out, but I think I am doing something wrong. sage: Id = matrix([[1,0],[0,1]]) sage: type(Id) type 'sage.matrix.matrix_integer_dense.Matrix_integer_dense' sage: A = Mat.get_action(Mat,

[sage-support] Re: While computing Smith normal form, I got bitten

2014-01-24 Thread Saul Schleimer
Dear all - Here is a much lighter way make my problem go away. Suppose that A is an m by n matrix (number of rows by number of columns). A = matrix(ZZ, [[-6, -26, -82], [0, 4, 3], [1, 0, 7], [0, 2, 5], [2, 10, 30]]) sage: type(A) type 'sage.matrix.matrix_integer_dense.Matrix_integer_dense'

[sage-support] Re: While computing Smith normal form, I got bitten

2014-01-24 Thread Simon King
Hi Saul, On 2014-01-24, Saul Schleimer saul...@gmail.com wrote: Nice to hear from you. This discussion of morphisms is pretty convincing. I tried it out, but I think I am doing something wrong. ... sage: A = Mat.get_action(Mat, operator.inv); A sage: A.codomain()

[sage-support] Re: someone lost all their info in sagenb.org

2014-01-24 Thread P Purkayastha
On 01/23/2014 02:04 AM, kcrisman wrote: However, there are lots and lots of things on that spreadsheet (I thought it was no longer operational, but I guess old Sage installations still go there ... including sagenb.org) The google doc should still be operational for now. The switch to