[sage-support] How to use LaTeX output in Sage Notebook?

2010-10-16 Thread pevzi
So, I have a sort of silly question. How to make notebook draw LaTeX- rendered output instead of using jsMath? For example, like there http://upload.wikimedia.org/wikipedia/commons/e/e9/SAGE_equation_solve.jpeg or in Cantor front-end. -- To post to this group, send email to sage-support@googlegro

[sage-support] Re: Difficulty installing -- Illegal Instruction

2010-10-16 Thread kcrisman
On Oct 16, 10:21 pm, GC wrote: > That's a great thought.  The 10.4 binaries are available, and what's > more, the specify that they were compiled on a G4.  I will let you > know how that goes. Great, please do. > I am at 1.5GHz / 1.25 Gb, so I would love to avoid compiling myself. That's actu

[sage-support] Re: Difficulty installing -- Illegal Instruction

2010-10-16 Thread GC
That's a great thought. The 10.4 binaries are available, and what's more, the specify that they were compiled on a G4. I will let you know how that goes. I am at 1.5GHz / 1.25 Gb, so I would love to avoid compiling myself. I realize the days are numbered for this machine -- Power stopped being s

[sage-support] Re: Difficulty installing -- Illegal Instruction

2010-10-16 Thread kcrisman
On Oct 16, 5:17 am, GC wrote: > I am trying to get Sage up and running for the first time, and I'm > encountering an error (see below). > > I installed sage by drag-and-drop onto my hard drive, and double > clicked the sage executable to run it.  Looking through old postings > to this group, it

[sage-support] Re: Can't build ATLAS on Ubuntu 10.04

2010-10-16 Thread Oscar Lazo
This is a known bug: http://trac.sagemath.org/sage_trac/ticket/9385 So far we've been unable to explain it... Oscar On Oct 16, 3:09 am, Rodolfo Navarrete wrote: > Hello, I'm trying to compile Sage 4.5.3 on my HP laptop running Ubuntu > 10.04. I have followed the instructions and recommendation

[sage-support] Re: Converting StringMonoidElement to Integer

2010-10-16 Thread duro
The main idea was the same, but I've implemented it in a different manner ;) Regards, duro On 16 Paź, 16:14, Minh Nguyen wrote: > Hi duro, > > On Sun, Oct 17, 2010 at 1:02 AM, duro wrote: > > So obvious! Thanks Minh for pointing it out to me. > > No worries. > > > In the meantime > > I've writt

Re: [sage-support] Re: Converting StringMonoidElement to Integer

2010-10-16 Thread Minh Nguyen
Hi duro, On Sun, Oct 17, 2010 at 1:02 AM, duro wrote: > So obvious! Thanks Minh for pointing it out to me. No worries. > In the meantime > I've written a function that does the same but it was very inefficent. You mean something like the following? sage: b = "100110" sage: sum(Integer(i) * (

[sage-support] Re: Converting StringMonoidElement to Integer

2010-10-16 Thread duro
So obvious! Thanks Minh for pointing it out to me. In the meantime I've written a function that does the same but it was very inefficent. Regards, duro > Yes, there two ways to do what you want. > > > I've generated some random bits by calling > > blum_blum_shub(length,lbound,ubound) but I need

Re: [sage-support] Graph Theory

2010-10-16 Thread Minh Nguyen
Hi Bill, On Sun, Oct 17, 2010 at 12:00 AM, Bill wrote: > When I run > > g4=Graph({'H':['G','L','L','D'],'L':['G','D']}) > g4.eulerian_circuit() > > I get the error message > > Traceback (click to the left of this block for traceback) > ... > RuntimeError: Vertex (L) not in the graph. > > > This s

Re: [sage-support] Converting StringMonoidElement to Integer

2010-10-16 Thread Minh Nguyen
Hi duro, On Sat, Oct 16, 2010 at 11:39 PM, duro wrote: > Hello. > > Is there a possibility to convert type 'sage.monoids.string_monoid_element.StringMonoidElement'> to Integer > in efficient way? Yes, there two ways to do what you want. > I've generated some random bits by calling > blum_blum

[sage-support] Graph Theory

2010-10-16 Thread Bill
When I run g4=Graph({'H':['G','L','L','D'],'L':['G','D']}) g4.eulerian_circuit() I get the error message Traceback (click to the left of this block for traceback) ... RuntimeError: Vertex (L) not in the graph. This seems to be an error in the routine. -- To post to this group, send email to

[sage-support] Converting StringMonoidElement to Integer

2010-10-16 Thread duro
Hello. Is there a possibility to convert type to Integer in efficient way? I've generated some random bits by calling blum_blum_shub(length,lbound,ubound) but I need the binary result (or rather the StringMonoidElement) to be represented as a decimal number. Regards, duro -- To post to this gr

[sage-support] Lot of segfaults...

2010-10-16 Thread Thierry Dumont
Hello, On our Sage server, we have a lot a students doing simple computer algebra. Our version of Sage is 4.5.3 on Debian Lenny. We have a lot of segfaults in maxima: 2329777.996283] maxima[26150]: segfault at 7fff13abfa30 ip 7fa21cac8921 sp 7fff13abfa30 error 6 in libgc.so.1.0.3[7fa21caaf000

[sage-support] Difficulty installing -- Illegal Instruction

2010-10-16 Thread GC
I am trying to get Sage up and running for the first time, and I'm encountering an error (see below). I installed sage by drag-and-drop onto my hard drive, and double clicked the sage executable to run it. Looking through old postings to this group, it seems this error is caused by a mismatch in

[sage-support] Can't build ATLAS on Ubuntu 10.04

2010-10-16 Thread Rodolfo Navarrete
Hello, I'm trying to compile Sage 4.5.3 on my HP laptop running Ubuntu 10.04. I have followed the instructions and recommendations on the documentation, I even installed bison. I get this error message when compiling at the tail of the log file: STAGE 2-1-2: CacheEdge DETECTION make -f Makefile

Re: [sage-support] Sage in Eclipse

2010-10-16 Thread Niels
Hi, > I've got past line 32 of sage.all.py where it asks me to set SAGE_ROOT > and LD_LIBRARY_PATH but it appears there are other benefits beyond > this that "sage -sh" gives me but what these are and how to give them > to Eclipse, I don't know. > >from sage.all import * > File "/home/bee/sa