[sage-support] Re: How to cimport a Sage extension class?

2009-05-07 Thread simon . king
Hi Georg, On May 7, 8:21 pm, gsw wrote: > I ran into all these problems half a year ago Yes, I was surprised that it wasn't properly documented, although it looks like a pretty standard problem. > In the end Michael (Abshoff) got so > distracted from more important work, that I decided to let

[sage-support] Re: quotient poly ring and field

2009-05-07 Thread Yihsiang Liow
TO W. Stein: Thanks. That was what I needed. SAGE is a great piece of software. I'm using it in some adv math and cryptography classes. TO J. Palmieri: Yes I know you can do that. But you get into minor annoyances (which you can code around) such as E.points(). On 5/4/09, William Stein wrote:

[sage-support] Weird(?) behavior of scipy.complex

2009-05-07 Thread linuxgus
Hi all. After importing scipy, if I run, say, scipy.complex128(1.0) or even scipy.complex128(1) I get (1+0j) , as I should. However, if I run scipy.complex128(1.0j) , I get this weird error: ---SNIP-- Traceback (most recent call last)

[sage-support] Re: Update R to the 2.9 release with milestone Sage 4.0

2009-05-07 Thread mabshoff
On May 7, 4:24 pm, Mike Hansen wrote: > On Thu, May 7, 2009 at 4:15 PM, mabshoff > > wrote: > > Thanks for dong this work so far. > > > Did you ever figure out if libintl was now mandatory? > > Wasn't it libiconv? Yep, just checked and you are right. But I did not check if 2.9 mandated it. >

[sage-support] Re: Update R to the 2.9 release with milestone Sage 4.0

2009-05-07 Thread Mike Hansen
On Thu, May 7, 2009 at 4:15 PM, mabshoff wrote: > Thanks for dong this work so far. > > Did you ever figure out if libintl was now mandatory? Wasn't it libiconv? --Mike --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To u

[sage-support] Re: Update R to the 2.9 release with milestone Sage 4.0

2009-05-07 Thread mabshoff
On May 6, 7:15 am, gerhard wrote: > FYI: Hi Gerhard, > I upgraded R to 2.9.0 on a Fedora 10 system: > Installation of the matrix package failed (incompatible library > issues) > > I recompiled all of sage to

[sage-support] Re: strange characters in notebook

2009-05-07 Thread mabshoff
On May 7, 6:05 am, gyro wrote: > Hi, > I am running Sage version 3.4.1 on a CentosOS5 Linux workstation. Sage > is compiled from source. > I am using the notebook interface through Firefox version 3.0.10 with > jsMath v3.6a. > > In the notebook interface, when I evaluate the contents of a cell,

[sage-support] Re: strange characters in notebook

2009-05-07 Thread Jason Grout
gyro wrote: > On May 7, 1:00 pm, Jason Grout wrote: >> gyro wrote: >>> On May 7, 9:27 am, Jason Grout wrote: Jason Grout wrote: > gyro wrote: >> Hi, >> I am running Sage version 3.4.1 on a CentosOS5 Linux workstation. Sage >> is compiled from source. >> I am using the no

[sage-support] Re: strange characters in notebook

2009-05-07 Thread gyro
On May 7, 1:00 pm, Jason Grout wrote: > gyro wrote: > > On May 7, 9:27 am, Jason Grout wrote: > >> Jason Grout wrote: > >>> gyro wrote: > Hi, > I am running Sage version 3.4.1 on a CentosOS5 Linux workstation. Sage > is compiled from source. > I am using the notebook interfac

[sage-support] Re: Multi-thread and factor(n) problems

2009-05-07 Thread William Stein
2009/5/7 Jérôme Tremblay : > > I have a problem using factor() in a thread. Consider the following: > > sage: class FactorThread(Thread): > :         def run(self): > :             factor(2^50-1) > : > sage: test = FactorThread() > sage: test.start() > > Exception in thread Thread-3: >

[sage-support] Re: Unexpected error during integration

2009-05-07 Thread ma...@mendelu.cz
I removed absolute value and tried indefinite integral f(k,x)=exp(-(k))*exp(-I*2*pi*k*x) print(integrate(f(k,x),k)); this gives some answer, now we can substitute limits, R. On 7 kvě, 19:27, Alan wrote: > Hi, > > I am new to Sage and am trying to reproduce a well known result that > the Four

[sage-support] Re: strange characters in notebook

2009-05-07 Thread Jason Grout
gyro wrote: > On May 7, 9:27 am, Jason Grout wrote: >> Jason Grout wrote: >>> gyro wrote: Hi, I am running Sage version 3.4.1 on a CentosOS5 Linux workstation. Sage is compiled from source. I am using the notebook interface through Firefox version 3.0.10 with jsMath v3.6a

[sage-support] Re: Update R to the 2.9 release with milestone Sage 4.0

2009-05-07 Thread Rolandb
Gerhard, Thanks for your efforts! Roland On 6 mei, 16:15, gerhard wrote: > FYI: > > I upgraded R to 2.9.0 on a Fedora 10 system: > Installation of the matrix package failed (incompatible library > issues) > >

[sage-support] Re: How to cimport a Sage extension class?

2009-05-07 Thread gsw
Crap. I ran into all these problems half a year ago (and solved most of them), but my attempt to document at least some of the findings did not take the right direction. In the end Michael (Abshoff) got so distracted from more important work, that I decided to let the topic go for a while (see the

[sage-support] Re: 3d tubes in SAGE

2009-05-07 Thread Rado
I didn't know the thickness parameter, but going the long route (frenet frames), lets you do funky stuff like setting radius = 0.2* (2+sin(6*x)), whereas thickness can be only a float. Is there an easy way to render parametric_plot3d in Tachyon? Rado On May 7, 10:47 am, jason-s...@creativetr

[sage-support] Unexpected error during integration

2009-05-07 Thread Alan
Hi, I am new to Sage and am trying to reproduce a well known result that the Fourier Transform of an exponential decay function is a Lorentzian function. In other words, the integral of exp(-abs(k)) * exp(-i2pi*k*x) with respect to k, from 0 to +infinity (i'm integrating 0 to +inf instead o

[sage-support] Re: strange characters in notebook

2009-05-07 Thread gyro
On May 7, 9:27 am, Jason Grout wrote: > Jason Grout wrote: > > gyro wrote: > >> Hi, > >> I am running Sage version 3.4.1 on a CentosOS5 Linux workstation. Sage > >> is compiled from source. > >> I am using the notebook interface through Firefox version 3.0.10 with > >> jsMath v3.6a. > > Sorry, I

[sage-support] Re: parametric_plot3d appears to not give the correct axes values, also steals keyboard

2009-05-07 Thread Alden
thanks! On May 6, 11:33 pm, William Cauchois wrote: > I filed a ticket athttp://trac.sagemath.org/sage_trac/ticket/6002. > > -- Bill --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email

[sage-support] Re: [sage-edu] 3d tubes in SAGE

2009-05-07 Thread jason-sage
Rado wrote: > Hello, > > To test the 3D plotting abilities of sage, I tried to implement some > basic tube plotting like the ones here > http://facstaff.unca.edu/mcmcclur/java/LiveMathematica/tubes.html > (mathematica handles those beautifully). > > The code is nice and short and I think the prett

[sage-support] Re: Sage for Scientific Grid

2009-05-07 Thread Serge A. Salamanka
William Stein пишет: > On Wed, May 6, 2009 at 6:43 PM, Serge A. Salamanka wrote: >> Hi all, >> >> To start with I'd like to describe my ideas about gridification of Sage. >> >> This task is a very common one nowadays but it is a challenge for me. >> >> The very first thing I'm asking myself is

[sage-support] Re: strange characters in notebook

2009-05-07 Thread Jason Grout
Jason Grout wrote: > gyro wrote: >> Hi, >> I am running Sage version 3.4.1 on a CentosOS5 Linux workstation. Sage >> is compiled from source. >> I am using the notebook interface through Firefox version 3.0.10 with >> jsMath v3.6a. Sorry, I should really get more sleep. It appears that you saw

[sage-support] Re: strange characters in notebook

2009-05-07 Thread Jason Grout
gyro wrote: > Hi, > I am running Sage version 3.4.1 on a CentosOS5 Linux workstation. Sage > is compiled from source. > I am using the notebook interface through Firefox version 3.0.10 with > jsMath v3.6a. > > In the notebook interface, when I evaluate the contents of a cell, the > proper output

[sage-support] Multi-thread and factor(n) problems

2009-05-07 Thread Jérôme Tremblay
I have a problem using factor() in a thread. Consider the following: sage: class FactorThread(Thread): : def run(self): : factor(2^50-1) : sage: test = FactorThread() sage: test.start() Exception in thread Thread-3: Traceback (most recent call last): File "/Libr

[sage-support] Re: constructing a matrix from a list

2009-05-07 Thread Martin Albrecht
On Thursday 07 May 2009, Christophe Oosterlynck wrote: > Hi, > > in a cython project of mine, I need to do some intensive work on > arrays and then use these list in a matrix product. Doing the > intensive work on the arrays goes smoothly when using C arrays (using > malloc). Afterwards I convert

[sage-support] strange characters in notebook

2009-05-07 Thread gyro
Hi, I am running Sage version 3.4.1 on a CentosOS5 Linux workstation. Sage is compiled from source. I am using the notebook interface through Firefox version 3.0.10 with jsMath v3.6a. In the notebook interface, when I evaluate the contents of a cell, the proper output is 'sandwiched' between sets

[sage-support] Re: Jmol works from command line, but not notebook

2009-05-07 Thread Dan Drake
Well, thanks to Jason Grout for helping me on IRC...installing the Sun Java plugin fixed the problem for me in Linux. However, now I'm home on my Macbook, and Jmol isn't working here! In Firefox, I get the same problem, where it's just a black box. Every other Java thing works here, including the

[sage-support] Re: running maxima within sage and parallel computing

2009-05-07 Thread Harald Schilly
You could try to use dsage and running multiple instances in parallel. http://sagemath.org/doc/reference/sage/dsage/dsage.html Of course, you need to code something to split and combine the total workload for each client... h On May 7, 11:46 am, chand sarat wrote: > Dear All, > I am not a softw

[sage-support] Re: GAP still doesn't start in sage-3.4.1...

2009-05-07 Thread mabshoff
On May 7, 2:07 am, Johan Oudinet wrote: > On Sat, May 2, 2009 at 10:57 AM, mabshoff > You're wright Michael! The administrator installed udev package and > now Sage works! Excellent, this was definitely a difficult journey. > Thanks for your help. I'll never find this obscure problem else.

[sage-support] running maxima within sage and parallel computing

2009-05-07 Thread chand sarat
Dear All, I am not a software programmer. It is possible that this question is not rightly phrased. I use Maxima on a Ubuntu 9.04 i386 machine for symbolic computation tasks that arise in macroeconomics. I am given to understand that Maxima cannot exploit parallel computing at present while Sage ca

[sage-support] constructing a matrix from a list

2009-05-07 Thread Christophe Oosterlynck
Hi, in a cython project of mine, I need to do some intensive work on arrays and then use these list in a matrix product. Doing the intensive work on the arrays goes smoothly when using C arrays (using malloc). Afterwards I convert the C array to a python list and I construct a matrix over GF(2) f

[sage-support] Re: GAP still doesn't start in sage-3.4.1...

2009-05-07 Thread Johan Oudinet
On Sat, May 2, 2009 at 10:57 AM, mabshoff wrote: > > > > On May 2, 1:29 am, William Stein wrote: >> On Sat, May 2, 2009 at 1:27 AM, Johan Oudinet >> wrote: > > > >> > $ mount >> > /dev/hda1 on / type ext3 (rw,errors=remount-ro) >> > tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) >> >

[sage-support] Re: How to cimport a Sage extension class?

2009-05-07 Thread simon . king
PS: > I tested which of these are needed for cimport of RingElement, and I > found that SAGE_ROOT+'/local/include/csage/' suffices. I forgot to tell: Plus SAGE_ROOT+"/devel/sage/", Cheers, Simon --~--~-~--~~~---~--~~ To post to this group, send email to sage

[sage-support] Jmol works from command line, but not notebook

2009-05-07 Thread Dan Drake
Hello, Jmol is not working for me from the notebook, but works fine from the command line. I'm using 3.4.1 in Ubuntu Jaunty, with Firefox and the "icedtea" Java plugin. When I do this in a terminal, a Jmol window pops up and works great: sage: u, v = var('u, v') sage: parametric_plot3d([u*v,

[sage-support] Re: How to cimport a Sage extension class?

2009-05-07 Thread simon . king
Dear William, On May 6, 7:53 pm, William Stein wrote: ... > Here's a little notebook session that uses cimport from the Sage > library to do evil mutation of a sage integer: ... > cd to that directory, and go into the spyx subdirectory. > Look at the setup.py file there. OK, and there, I see a