Re: [sage-support] Re: Need to Express integers as 6 bit

2011-09-01 Thread Santanu Sarkar
Dear Maarten, Sorry for delay. Version of my Chrome is 5.0.375.70. I have written programs in SAGE 4.2 over Linux Ubuntu 8.04 on a computer with Dual CORE Intel(R) Pentium(R). With regards, Santanu On 26 August 2011 13:46, Maarten Derickx m.derickx.stud...@gmail.comwrote: Dear Santanu, I

[sage-support] Re: Displayed output getting cut off in notebook mode using html() and latex.eval()

2011-09-01 Thread Rob
I sort-of fixed it by changing the LATEX_HEADER string in latex.py to read '\textwidth 999in' instead of '\textwidth 6.45in' and then doing a 'sage -b'. I still don't know how to get jsmath to work properly, but it's not as important now. -- To post to this group, send email to

Re: [sage-support] Re: how does one do this in Cython?

2011-09-01 Thread Martin Albrecht
Funny you should ask because this was just fixed at SD32 where we ran into each other: http://trac.sagemath.org/sage_trac/ticket/11680 once it is merged you can write $SAGE_ROOT in these pragmas :) On 31 August 2011 19:17, john_perry_usm john.pe...@usm.edu wrote: Hi Martin, Sorry for the

Re: [sage-support] Re: Need to Express integers as 6 bit

2011-09-01 Thread Maarten Derickx
Maybe it's time to install a newer version of sage. 4.2 is quite old now, the latest stable release is now 4.7.1. Could you please, still also answer my question if it is only in chrome or also in other browsers you have installed? -- To post to this group, send email to

[sage-support] Re: Can't build sage library

2011-09-01 Thread dkrumm
Great! So it looks like maybe it'll be working soon. On Aug 31, 11:00 pm, Maarten Derickx m.derickx.stud...@gmail.com wrote: Ok, I re asked the question on sage devel. Seehttps://groups.google.com/forum/#!forum/sage-develfor the most recent status. -- To post to this group, send email to

Re: [sage-support] Re: exact vs approximate values

2011-09-01 Thread Laurent
If you prefer functions: There is also an n function. sage: n(r) 1.77241469651904 Since the symbol n is often override, I prefer to use the explicit name: sage: numerical_approx(r) Just my SR(2) cents Laurent -- To post to this group, send email to sage-support@googlegroups.com To

[sage-support] Re: [Visualpython-users] SAGE and Visual Python

2011-09-01 Thread Jason Grout
On 8/29/11 10:35 AM, Adam O Hausknecht wrote: Hi all, Is there away to import Visual Python into the Sage (http://www.sagemath.org/) which uses Python as its language? Here is a mailing list post from the Sage development list about this:

[sage-support] Searching a Matrix Space (Transportation Matrices)

2011-09-01 Thread Vince
Hi all, I need to evaluate a function over an entire space of {0,1} Transportation Matrices (with a given row and column sum). I'm just beginning with SAGE so would be happy with any pointers in the right direction... Thanks, Vince -- To post to this group, send email to

Re: [sage-support] Re: Bug in Graph.is_chordal

2011-09-01 Thread Nathann Cohen
Hello ! I'm finally back to the civilisation if you want us to deal with this patch :-) Nathann On 29 August 2011 15:46, Nathann Cohen nathann.co...@gmail.com wrote: Hello Jan !!! I am sorry for my vry slow answers, I am on vacation right now, with very very bad WiFi connections when I

[sage-support] compiling sage 4.7.1 under OpenSuSE 11.2

2011-09-01 Thread js...@crt.xerox.com
I tried to build sage 4.7.1 from source under OpenSuSE 11.2 (just typing make, nothing fancy), and it gets quite far. When it hits ../src/basemath/base3.c (under the pari subsection) the compiler hangs. The compiler section (gcc) is cc1, and it appears to suck up memory as if it has a memory

[sage-support] Re: how does one do this in Cython?

2011-09-01 Thread john_perry_usm
On Sep 1, 4:50 am, Martin Albrecht martinralbre...@googlemail.com wrote: Funny you should ask because this was just fixed at SD32 where we ran into each other: http://trac.sagemath.org/sage_trac/ticket/11680 I actually read part of that ticket when I was there, though a lot more took place

[sage-support] Re: Sums of Modular Symbols continuing saga

2011-09-01 Thread chris wuthrich
Hello Jack, typically you want sage: E = EllipticCurve(11a1) sage: m = 5 sage: ms = E.modular_symbol() sage: chi = DirichletGroup(m).0 sage: chi Dirichlet character modulo 5 of conductor 5 mapping 2 |-- zeta4 sage: sum( (chi^2)(a) * ms(a/m) for a in [1..(m-1)] ) 5 The symbol ms is already

[sage-support] Re: Field of rational functions??

2011-09-01 Thread MathLynx
Egad! I just got pummeled! This will take a while to absorb - thanks, Simon. Just starting on the learning curve... On Aug 31, 6:04 am, Simon King simon.k...@uni-jena.de wrote: Hi! On 31 Aug., 09:50, MathLynx mathl...@gmail.com wrote: Thanks!  But the question remains, how do I force the

[sage-support] labels in plots

2011-09-01 Thread MathLynx
I entered plot(2*x^3-5*x^2-x+1,(x,.3819,.382),hue=1,thickness=2,ticks=[. 5,None]) and got a plot where the tick marks were at the correct places but the labels were of the form 3.819e-1 and 3.82e-1. How do I get them to read .3819, .38195 and .382 (or .3820)? -- To post to this group,

[sage-support] Re: labels in plots

2011-09-01 Thread Jason Grout
On 9/1/11 2:16 PM, MathLynx wrote: plot(2*x^3-5*x^2-x+1,(x,.3819,.382),hue=1,thickness=2,ticks=[. 5,None]) Try this: from matplotlib import ticker plot(2*x^3-5*x^2-x+1,(x,.3819,.382),hue=1, thickness=2,ticks=[.5,None], tick_formatter=ticker.FormatStrFormatter('%g')) Do: from

[sage-support] Re: labels in plots

2011-09-01 Thread kcrisman
On Sep 1, 3:45 pm, Jason Grout jason-s...@creativetrax.com wrote: On 9/1/11 2:16 PM, MathLynx wrote: plot(2*x^3-5*x^2-x+1,(x,.3819,.382),hue=1,thickness=2,ticks=[. 5,None]) Try this: from matplotlib import ticker plot(2*x^3-5*x^2-x+1,(x,.3819,.382),hue=1,

[sage-support] Re: compiling sage 4.7.1 under OpenSuSE 11.2

2011-09-01 Thread Maarten Derickx
Someone else had the exact same problem on sage-devel. Maybe the solution is here https://groups.google.com/d/topic/sage-devel/aL8b9phz3Xc/discussion -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] Re: compiling sage 4.7.1 under OpenSuSE 11.2

2011-09-01 Thread Maarten Derickx
The way to do this is probably to change the CFLAGS that are exported in the pari install script. You find all pari related stuff in the pari spkg, this is located in $SAGE_ROOT/spkg/standard . Note that this is a compressed file so you have to untar it first. On

[sage-support] Labels and others in 3D plots

2011-09-01 Thread Jotace
Hi all, I'm trying to make 3D plots but I'm not able to: 1. Put labels on the axes, 2. Create a surface, say F(x,y,z)=0, of z=f(x,y) together with some level curves. The only level curves I can plot lie on a 2d plot. On the ther hand I'can't figure what's wrong with: var('x, y, z'); @interact

[sage-support] integral() error

2011-09-01 Thread robin hankin
Hi. sage 4.7.1, macosx 10.6.8, firefox 5.0. When I use the sage notebook the following happens: var('x') integral(exp(x),x) Traceback (click to the left of this block for traceback) ... RuntimeError: ECL says: THROW: The catch MACSYMA-QUIT is undefined. What's the deal? -- Robin

[sage-support] Re: integral() error

2011-09-01 Thread Maarten Derickx
I have OS X 10.6.8 also but I don't have the same version of sage installed currently as you (I have sage 4.7.2.alpha2 and 4.6.1) and I don't seem to be able to replicate your error in both the older and the newer install. I don't have firefox so could you please try it from the command line

Re: [sage-support] integral() error

2011-09-01 Thread Justin C. Walker
On Sep 1, 2011, at 19:31 , robin hankin wrote: Hi. sage 4.7.1, macosx 10.6.8, firefox 5.0. When I use the sage notebook the following happens: var('x') integral(exp(x),x) Traceback (click to the left of this block for traceback) ... RuntimeError: ECL says: THROW: The catch

Re: [sage-support] Re: Need to Express integers as 6 bit

2011-09-01 Thread Santanu Sarkar
For mozilla firefox, it is perfect. I dont known about other browsers. On 1 September 2011 15:30, Maarten Derickx m.derickx.stud...@gmail.comwrote: Maybe it's time to install a newer version of sage. 4.2 is quite old now, the latest stable release is now 4.7.1. Could you please, still also