[sage-support] graph.automorphism_group(translation=True) gives error in 3.2.3

2009-01-17 Thread Nikos Apostolakis
The "translation=True" flag does not work after upgrading to sage 3.2.3 I am not sure when this behaviour was introduced. In version 2.10.2 it works fine, unfortunately I don't have a more recent old sage to check. sage: foo = Graph() sage: foo.add_edges([(0,1,1),(1,2,2), (2,3,3)]) sage: f

[sage-support] Re: jsmath error -7 in chroot environment

2009-01-17 Thread Jason Grout
D. Monarres wrote: > Thank you, I will do that. It is interesting that I never got a > similar error when I was running it outside of the chroot. > This error is on the client side. Are you now testing on different computers? Jason --~--~-~--~~~---~--~~ To p

[sage-support] Re: jsmath error -7 in chroot environment

2009-01-17 Thread D. Monarres
Thank you, I will do that. It is interesting that I never got a similar error when I was running it outside of the chroot. On Jan 17, 5:05 pm, Jason Grout wrote: > D. Monarres wrote: > > Hello all, > > I have been managing a little local sage server for my office for the > > past six months an

[sage-support] Re: Maple in Sage on Mac

2009-01-17 Thread Alec Mihailovs
There is also a possibility to use Maple directly through OpenMaple instead of pexpect. I don't have much free time at the moment, but if somebody is interested, in addition to the Maple help pages, the following link (in C#, but it is rather clear how to modify it for C++) can be helpful, htt

[sage-support] Re: jsmath error -7 in chroot environment

2009-01-17 Thread Jason Grout
D. Monarres wrote: > Hello all, > I have been managing a little local sage server for my office for the > past six months and it has been working fine. In anticipation of a > wider audience I recompiled sage in a chrooted jail and now am > getting an error -7 from jsmath every once and awhile. Do

[sage-support] jsmath error -7 in chroot environment

2009-01-17 Thread D. Monarres
Hello all, I have been managing a little local sage server for my office for the past six months and it has been working fine. In anticipation of a wider audience I recompiled sage in a chrooted jail and now am getting an error -7 from jsmath every once and awhile. Does anybody have an idea of wh

[sage-support] Re: confusing output? latex(7-(-1)^(1/3))

2009-01-17 Thread Robert Bradshaw
On Jan 17, 2009, at 4:00 PM, William Stein wrote: > On Sat, Jan 17, 2009 at 3:01 PM, Jason Grout > wrote: >> >> William Stein wrote: >>> >>> This bug that you reported is now >>> >>>http://trac.sagemath.org/sage_trac/ticket/5004 >>> >> >> >> This bug came up a while ago on the mailing list a

[sage-support] Re: confusing output? latex(7-(-1)^(1/3))

2009-01-17 Thread William Stein
On Sat, Jan 17, 2009 at 3:01 PM, Jason Grout wrote: > > William Stein wrote: >> >> This bug that you reported is now >> >>http://trac.sagemath.org/sage_trac/ticket/5004 >> > > > This bug came up a while ago on the mailing list and already had a trac > ticket: > > http://trac.sagemath.org/sage

[sage-support] Re: confusing output? latex(7-(-1)^(1/3))

2009-01-17 Thread Jason Grout
William Stein wrote: > > This bug that you reported is now > >http://trac.sagemath.org/sage_trac/ticket/5004 > This bug came up a while ago on the mailing list and already had a trac ticket: http://trac.sagemath.org/sage_trac/ticket/4548 I guess it's a dup now, since 5004 has the patch

[sage-support] Re: confusing output? latex(7-(-1)^(1/3))

2009-01-17 Thread William Stein
On Sat, Jan 17, 2009 at 1:57 PM, Mike Hansen wrote: > > Hello, > > On Sat, Jan 17, 2009 at 1:25 PM, William Stein wrote: >> This bug that you reported is now >> >> http://trac.sagemath.org/sage_trac/ticket/5004 > > I've posted a patch there which should take care of the issue. > > --Mike Nice

[sage-support] Re: confusing output? latex(7-(-1)^(1/3))

2009-01-17 Thread Mike Hansen
Hello, On Sat, Jan 17, 2009 at 1:25 PM, William Stein wrote: > This bug that you reported is now > > http://trac.sagemath.org/sage_trac/ticket/5004 I've posted a patch there which should take care of the issue. --Mike --~--~-~--~~~---~--~~ To post to this gro

[sage-support] Re: confusing output? latex(7-(-1)^(1/3))

2009-01-17 Thread William Stein
On Sat, Jan 17, 2009 at 8:22 AM, ma...@mendelu.cz wrote: > > Hello all > > The command latex(7-(-1)^(1/3)) produces 7 - {-1}^{\frac{1}{3}} > Is it possible to change it into 7 - \left(-1\right)^{\frac{1}{3}} > > Which function should be redefined to gain this behavior? > > I think that two minu

[sage-support] Re: to 64bit or not to 64bit, that is the question!

2009-01-17 Thread William Stein
On Sat, Jan 17, 2009 at 10:09 AM, Jason Grout wrote: > > mabshoff wrote: >> >> >> On Jan 17, 9:02 am, "calcp...@aol.com" wrote: >> >> Hi, >> >>> OK, I have a new lab with 25 dualcore 2GHz 64bit AMD Athlons. >>> However, I only have a 32bit OS installed (Knoppix DVD which is like >>> debian with

[sage-support] Re: Unintuitive behaviour of x.remove() for x a list of graphs (was: What is the effect of "edge_labels=True" on is_isomorphic?)

2009-01-17 Thread Robert Miller
You need to tell Sage that the edge labels matter, apparently: sage: foo = Graph() sage: foo.add_edges([(0, 1, 1), (0, 2, 2)]) sage: bar = Graph() sage: bar.add_edges([(0, 1, 2), (0, 2, 1)]) sage: foo == bar True sage: foo.weighted(True) sage: foo == bar True sage: bar.weighted(True) sage: foo ==

[sage-support] Re: How to show() without simplify()?

2009-01-17 Thread Robert Bradshaw
On Jan 17, 2009, at 10:18 AM, Hinnerk wrote: > On 15 Jan., 21:00, Robert Bradshaw > wrote: >> The simplified form is cached, so you can use this to fool it into >> thinking it's already simplified. >> >> sage: f = q + 1 + q >> sage: f._simp = f >> sage: f >> q + 1 + q > > thank you very much Rob

[sage-support] Re: How to show() without simplify()?

2009-01-17 Thread Hinnerk
On 15 Jan., 21:00, Robert Bradshaw wrote: > The simplified form is cached, so you can use this to fool it into   > thinking it's already simplified. > > sage: f = q + 1 + q > sage: f._simp = f > sage: f > q + 1 + q thank you very much Robert! Unfortunately this drives show() into endless recurs

[sage-support] Re: to 64bit or not to 64bit, that is the question!

2009-01-17 Thread Jason Grout
mabshoff wrote: > > > On Jan 17, 9:02 am, "calcp...@aol.com" wrote: > > Hi, > >> OK, I have a new lab with 25 dualcore 2GHz 64bit AMD Athlons. >> However, I only have a 32bit OS installed (Knoppix DVD which is like >> debian with lots of apps including R and Octave). >> >> Question 1: >> With

[sage-support] Re: Internal Server Error

2009-01-17 Thread loretta
On Saturday, 17. January 2009 13:40:23 mabshoff wrote: > On Jan 17, 4:33 am, loretta wrote: > > Hi Loretta, > > > I'm on sidux (Debian sid actually, installed it just yesterday) and have > > installed the > > latest SAGE 3.2.3. > > > > When I enter notebook() I'm aksed for the password and then g

[sage-support] Re: to 64bit or not to 64bit, that is the question!

2009-01-17 Thread calcpage
That's what I thought. All I'd get for my troubles upgrading the OS is a bigger max_int and a larger address space, right? These PCs only have 1GB RAM, so I'm not going over 4GB THanx, A. Jorge Garcia calcp...@aol.com http://calcpage.tripod.com --~--~-~--~~~---

[sage-support] Re: to 64bit or not to 64bit, that is the question!

2009-01-17 Thread mabshoff
On Jan 17, 9:02 am, "calcp...@aol.com" wrote: Hi, > OK, I have a new lab with 25 dualcore 2GHz 64bit AMD Athlons. > However, I only have a 32bit OS installed (Knoppix DVD which is like > debian with lots of apps including R and Octave). > > Question 1: > With the setup given above, I should i

[sage-support] to 64bit or not to 64bit, that is the question!

2009-01-17 Thread calcp...@aol.com
OK, I have a new lab with 25 dualcore 2GHz 64bit AMD Athlons. However, I only have a 32bit OS installed (Knoppix DVD which is like debian with lots of apps including R and Octave). Question 1: With the setup given above, I should install the 32bit Sage tarball, right? Question 2: Also, will I be

[sage-support] Re: cokernel of a matrix (and other questions about matrices and free modules)

2009-01-17 Thread John H Palmieri
On Jan 16, 9:42 pm, William Stein wrote: > On Fri, Jan 16, 2009 at 9:22 PM, John H Palmieri > wrote: > > > 1. How can I compute the cokernel of a matrix? For example: > > > sage: mat = matrix(ZZ, 2, 2, [[1, 0], [0, 2]]) > > sage: M = FreeModule(ZZ, rank=2) > > > Then I would like to use M / mat

[sage-support] confusing output? latex(7-(-1)^(1/3))

2009-01-17 Thread ma...@mendelu.cz
Hello all The command latex(7-(-1)^(1/3)) produces 7 - {-1}^{\frac{1}{3}} Is it possible to change it into 7 - \left(-1\right)^{\frac{1}{3}} Which function should be redefined to gain this behavior? I think that two minus sign, one following the other, could be confusing (for students of econ

[sage-support] Unintuitive behaviour of x.remove() for x a list of graphs (was: What is the effect of "edge_labels=True" on is_isomorphic?)

2009-01-17 Thread Nikos Apostolakis
Nikos Apostolakis writes: > Robert Miller writes: [...] >> The edge_labels option should return True if and only if there is a >> label-preserving isomorphism, as it does in your example in Sage >> 3.2.2: [...] > > Great! I'll upgrade and hopefully everything will be fine. Thanks. > I upd

[sage-support] Re: Where is the "is_strongly_connected" for DiGraph ?

2009-01-17 Thread Vincent D
Thank you for this. On 16 jan, 10:02, Robert Bradshaw wrote: > On Jan 16, 2009, at 12:34 AM, Vincent D wrote: > > > > > Hello, > > > I'm working on directed graphs. So > > sage : G = DiGraph() > > ... > > > and I want to know if my graph G is strongly connected. There is such > > a method in net

[sage-support] Re: Internal Server Error

2009-01-17 Thread mabshoff
On Jan 17, 4:33 am, loretta wrote: Hi Loretta, > I'm on sidux (Debian sid actually, installed it just yesterday) and have > installed the > latest SAGE 3.2.3. > > When I enter notebook() I'm aksed for the password and then get > > The notebook files are stored in: /home/fgeiger/.sage//sage_no

[sage-support] Internal Server Error

2009-01-17 Thread loretta
I'm on sidux (Debian sid actually, installed it just yesterday) and have installed the latest SAGE 3.2.3. When I enter notebook() I'm aksed for the password and then get The notebook files are stored in: /home/fgeiger/.sage//sage_notebook ** *  

[sage-support] Re: SAGE server

2009-01-17 Thread Dan Drake
On Sat, 17 Jan 2009 at 03:29AM -0800, Harald Schilly wrote: > On Jan 17, 3:45 am, Jason Grout wrote: > > This time I'm writing more and more things down.  I can post up > > notes to Dan's wiki page, since I'm doing things a bit differently > > than him.  I'm trying to make it easy to have several

[sage-support] Re: SAGE server

2009-01-17 Thread Harald Schilly
On Jan 17, 3:45 am, Jason Grout wrote: > This time I'm writing more and more > things down.  I can post up notes to Dan's wiki page, since I'm doing > things a bit differently than him.  I'm trying to make it easy to have > several separate sage notebooks running, one for each class that I teac