Loading...

sagedevel@googlegroups.com
[Prev] Thread [Next]  [Prev] Date [Next]
[sagedevel] Re: Short script dumps me at the command line Dima Pasechnik Thu Feb 16 21:00:06 2012
In gmane.comp.mathematics.sage.devel, you wrote: > the following short script dumps me at the command line in Sage 4.8: > > M=matrix(2,2,[27, 11, 15, 1]) > G,mu = M.gram_schmidt() > M2 = matrix(2,3,[27,11,21,15,1,9]) > G2,mu2 = M2.gram_schmidt() > float(G2[1].norm()  G[1].norm()) > 0 last line has an unprintable character (after '))'). If I save it (from a newsreader slrn pointed at the corresponding gmane.org newsgroup) this line looks as float(G2[1].norm()  G[1].norm()) =A0> 0 If I save the file from the editor's reply, edit it and load into sSage, it produces a syntax error File "<string>", line 6 float(G2[_sage_const_1 ].norm()  G[_sage_const_1 ].norm()) > _sage_const_0 ^ SyntaxError: invalid syntax but it could well be that this character got mangled on its way... Best, Dima  To post to this group, send an email to [EMAIL PROTECTED] To unsubscribe from this group, send an email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sagedevel URL: http://www.sagemath.org
 [sagedevel] Short script dumps me at the command line Bill Hart 2012/02/16
 [sagedevel] Re: Short script dumps me at the command line Bill Hart 2012/02/16
 Re: [sagedevel] Re: Short script dumps me at the command line Justin C. Walker 2012/02/16
 [sagedevel] Re: Short script dumps me at the command line Dima Pasechnik 2012/02/16 <=
 [sagedevel] Re: Short script dumps me at the command line Keshav Kini 2012/02/16
 Re: [sagedevel] Short script dumps me at the command line William Stein 2012/02/17
 [sagedevel] Re: Short script dumps me at the command line Bill Hart 2012/02/17