On Wed, Jun 2, 2010 at 10:33 AM, Mike Hansen <mhan...@gmail.com> wrote: > On Wed, Jun 2, 2010 at 6:43 AM, kcrisman <kcris...@gmail.com> wrote: >> I guess I'm a little surprised that even the 'vector' explicitly >> designated to be over ZZ isn't in there. I think I'm mathematically >> ok, too - taking the echelon matrix, isn't my vector e_1-(1/3)*e_2- >> (1/3)*e_3 ? > > Those coefficients are in QQ not ZZ.
Try: M = matrix(QQ, [[1,1,1,1,1,1],[1,1,-2,1,1,-2],[-2,1,1,-2,1,1],[1,-2,1,1,-2,1]]) or M = matrix([[1/1,1,1,1,1,1],[1,1,-2,1,1,-2],[-2,1,1,-2,1,1], [1,-2,1,1,-2,1]]) > > --Mike > > -- > To post to this group, send email to sage-support@googlegroups.com > To unsubscribe from this group, send email to > sage-support+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/sage-support > URL: http://www.sagemath.org > -- William Stein Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org