[sage-support] Re: sage-nauty-directed graphs isomorphism vs. magma -- smth is very wrong

2014-03-03 Thread Chris Godsil
I would not be surprised it it was the finite field arithmetic that is causing the difference. On Friday, February 28, 2014 4:18:44 PM UTC-5, Aleksandr Kodess wrote: As far as I know both sage and magma utilize Brendan McKay's program nauty in order to check whether two given graphs

[sage-support] Re: SIGABRT in Graph.clique_number() and assertion in cliquer

2012-12-03 Thread Chris Godsil
sage: k4=graphs.CompleteGraph(4) sage: k4.complement().line_graph().complement() complement(): Graph on 0 vertices clique_number() is crashing on the empty graph, On Saturday, December 1, 2012 9:30:27 AM UTC-5, Georgi Guninski wrote: for g in graphs(4):

[sage-support] show3d does not show (on a mac)

2009-12-28 Thread Chris Godsil
I'm running OS 10.6.2 a Mac airbook. I had problems with the binary sage-4.3-osx10.6-intel-64bit-i386-Darwin.dmg, so I downloaded the source and compiled it. I've found that show3d() does not work. After the commands sage: P = graphs.PetersenGraph() sage: P.show3d() I get the sage prompt

[sage-support] Re: show3d does not show (on a mac)

2009-12-28 Thread Chris Godsil
details, but in the meantime the tachyon plotter should do at least some of what you want. - kcrisman On Dec 28, 10:53 am, Chris Godsil cgod...@uwaterloo.ca wrote: I'm running OS 10.6.2 a Mac airbook.  I had problems with the binary sage-4.3-osx10.6-intel-64bit-i386-Darwin.dmg, so I

[sage-support] eigenvalue difficulties

2009-09-18 Thread Chris Godsil
/sage/local/lib/python2.6/site-packages/sage/matrix/ matrix_integer_dense.so in sage.matrix.matrix_integer_dense.Matrix_integer_dense._charpoly_linbox (sage/matrix/matrix_integer_dense.c:11242)() RuntimeError: -- Thanks for any help Chris Godsil

[sage-support] Re: eigenvalue difficulties

2009-09-18 Thread Chris Godsil
Thanks. I tried that but the problem remains. Chris On Sep 18, 11:07 pm, William Stein wst...@gmail.com wrote: On Fri, Sep 18, 2009 at 8:05 PM, Chris Godsil cgod...@uwaterloo.ca wrote: I'm running Mac OS X 10.6.1.  The command matrix.eigenvalues() has stopped working, as follows: You

[sage-support] Re: eigenvalue difficulties

2009-09-18 Thread Chris Godsil
: On Fri, Sep 18, 2009 at 8:25 PM, Chris Godsil cgod...@uwaterloo.ca wrote: Thanks.  I tried that but the problem remains. One other thing to try would be to rebuild the sage--linbox extension (which is easy). Just do the following from the root of your Sage install: flat:sage wstein$ touch devel

[sage-support] determinants of matrix polynomials

2009-03-19 Thread Chris Godsil
I want to compute determinants of matrix polynomials, for matrices up to 20 x 20, say. The attached transcript seems to indicate 9 or 10 might be my limit. (Or it's late and I am being stupd?) -- | Sage Version 3.4, Release

[sage-support] Re: determinants of matrix polynomials

2009-03-19 Thread Chris Godsil
suggests, I entered M.determinant? to see what algorithm was being used, but did not get any useful information. Thanks Chris On Mar 19, 4:17 am, Chris Godsil cgod...@uwaterloo.ca wrote: I want to compute determinants of matrix polynomials, for matrices up   to 20 x 20, say. The attached

[sage-support] quaternions

2008-03-27 Thread Chris Godsil
I want to extract the real part of a quaternion, i.e., if L.i,j,k = QuaternionAlgebra(QQ,-1,-1); and a is in L, then I want the coefficient of 1 in the expansion of as a linear combination of 1, i, j and k. Is there a way to do this? A graceful way? (I have also discovered that using

[sage-support] Re: quaternions

2008-03-27 Thread Chris Godsil
. Chris On Mar 27, 6:19 pm, Justin Walker [EMAIL PROTECTED] wrote: On Mar 27, 2008, at 12:58 PM, Chris Godsil wrote: I want to extract the real part of a quaternion, i.e., if  L.i,j,k = QuaternionAlgebra(QQ,-1,-1); and a is in L, then I want the coefficient of 1 in the expansion