[sage-support] Problems Installing binary 4.3

2009-12-26 Thread linuxgus
As soon as I realized that 4.3 came out, I decided to install the binary for the Atom on my eeePC. Alas, I cannot find it! I wonder, since I am running Ubuntu 9.10, would the binary for 32-bit Ubuntu 9.10 run on the Atom? Also, URL links to the mirror (original?) at the Univ. of Washington

[sage-support] Re: Running Sage on a 64-bit Scientific Linux machine

2009-12-09 Thread linuxgus
On the same track, if sage is built from source on Richard's eight-CPU machine, will it be able to take advantage of the multiple processor cores? If I remember correctly, in a previous thread here a few months ago, the answer was negative. If so, why? Sage is based on Python and Python's

[sage-support] Subtle Bug in Plot?

2009-12-09 Thread linuxgus
The past few days I installed Sage 4.2.1 from source on 64-bit Ubuntu karmic with stock kernel and I also installed the binary for the Atom N270 on a eeePC 1000, also running Ubuntu karmic (32 bit, as the Atom is a 32-bit processor). To test things out, I executed the one-line script

[sage-support] libecm test failure in 4.2

2009-10-31 Thread linuxgus
Last night I updated to Sage 4.2 on my 64-bit openSuSE 11.1 with 2.6.28.2 kernel on a laptop with AMD Semptron, dual core.. Sage said it updated successfully, but just for good measure, I ran a 'make test' and went to sleep. Apparently, all the tests passed, except the one(s) involving libecm

[sage-support] Re: libecm test failure in 4.2

2009-10-31 Thread linuxgus
Thank you, William. Just to correct myself (although it hardly matters), the AMD Semptron at home is SINGLE core, not dual, as I erroneously stated in the original posting. Concerning inria.fr, isn't it the same institution that offers scilab? Just curious.

[sage-support] Re: Confused about openopt, cvxopt, and FuncDesigner

2009-10-26 Thread linuxgus
...@gmail.com wrote: On Oct 25, 7:52 pm, linuxgus ka8...@amsat.org wrote: 1. Is CVXOPT part of openopt? (I have already installed openopt.) no 2. I cannot find CVXOPT or openopt in the openSuSE repositories. Were they created specifically for sage? open suse probably doesn't have them

[sage-support] Trouble with Greek characters

2009-09-01 Thread linuxgus
Hello all. Here is a simple three-liner in notebook: r=var('rho') A=matrix(2,[sqrt(3), 1, -1, sqrt(3)])/2 R=matrix(2,[1,r,r,1]) show( simplify(expand(A*R*A.transpose())) ) It does the math correctly, but instead of displaying actual rhos ( ρ ) in the final matrix, it displays accented

[sage-support] Re: Trouble with Greek characters

2009-09-01 Thread linuxgus
Thank you, Jason! Your guess was absolutely correct! I am running 64- bit Firefox 3.5.2 on Suse 11.1, with an upgraded kernel 2.6.28. Yes, John, you are right! I forgot to mention my OS and browser. Thanks to both of you for the help. Replacing the jsmath fonts, per Jason's recommendation

[sage-support] Re: Problem with show

2009-07-19 Thread linuxgus
Thank you all for your responses. Doing soime googling around, I discovered that that openSuSE 11.1 has the same problem with evince I encountered. I followed William's advice above and, before firing up sage (as a normal user), I exported the SAGE-BROWSER environment variable as

[sage-support] Re: Problem with show

2009-07-19 Thread linuxgus
On Jul 19, 3:42 am, Jason Grout jason-s...@creativetrax.com wrote: What if you set SAGE_BROWSER to kde-open?  That will open different programs, based on the format.  I think it's similar to the apple open command. I did. kdvi was ultimately invoked with exactly the same result as above

[sage-support] Re: Problem with show

2009-07-19 Thread linuxgus
On Jul 19, 2:54 pm, John H Palmieri jhpalmier...@gmail.com wrote: How about if you try sage: latex.pdflatex(True) first? --I did set latex.pdflatex(True) and set the SAGE_BROWSER environment variable to kde-open. This time a PDF reader popped up (as it should) but the content was still

[sage-support] Problem with show

2009-07-17 Thread linuxgus
Hi all, If I DON'T use notebook and type a simple program like, sage: t,s=var('t,s') sage: show(laplace(exp(-3*t),t)) an evince window pops up with the error message Unable to open document File type TeX DVI document (application/x-dvi) is not supported prominently displayed. I guess it is

[sage-support] Re: Problem with show

2009-07-17 Thread linuxgus
Thank you for responding. I did not have kdvi installed on my system. It still does the same thing after installing kdvi. As before, I get the message method return sender=:1.3 - dest=:1.31 reply_serial=2 whatever that means. I guess I have to figure out a way to let the desktop (Xfce in my

[sage-support] Re: numpy.random

2009-06-29 Thread linuxgus
On Jun 29, 5:52 am, Ahmed Fasih wuzzyv...@gmail.com wrote: There are a couple of things you can try: 1) If you are doing only Numpy stuff and don't need any sage-specific tools, you can use ipython without sage: sage -ipython, or in the notebook, by either choosing python in the syntax

[sage-support] Re: bug with integrate

2009-06-27 Thread linuxgus
On Jun 26, 5:07 pm, Loïc xl...@free.fr wrote: Hello list, I found a problem with integrate, look at the following sequence: sage: integrate(sin(x)/(cos(x))^2,x) 1/cos(x) It's ok - Now I try to add an interval: sage: integrate(cos(x)/(sin(x))^2,x,pi/6,pi/4)

[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

[sage-support] Re: Problems (?) with least squares

2009-03-30 Thread linuxgus
On Mar 30, 7:49 am, Jason Grout jason-s...@creativetrax.com wrote: linuxgus wrote: ...         a=p[0];b=p[1];phi=p[2];delta=p[3];X=p[4];Y=p[5]     return numpy.array(x-a*numpy.cos(phi+delta)+X  ,  y-b*numpy.sin(phi +delta)+Y) Here's a guess (I haven't checked it): make the above

[sage-support] Problems (?) with least squares

2009-03-29 Thread linuxgus
for clarity.) I get the following error (expanded): ValueError: setting an array element with a sequence. Traceback (most recent call last): File stdin, line 1, in module File /home/gus/.sage/sage_notebook/worksheets/linuxgus/1/code/ 86.py, line 16, in module leastsq(residual,p0,args=(xx,yy

[sage-support] Re: Making pylab.plot() and pylab.show() in Sage

2009-03-15 Thread linuxgus
Thanks to all of you for responding. This thread brings up another interesting question: How can I actually tell sage to save the graphics image to a separate file, in addition to displaying it? TIA for your response. Gus --~--~-~--~~~---~--~~ To post to this

[sage-support] Making pylab.plot() and pylab.show() in Sage

2009-03-07 Thread linuxgus
In notebook, after importing pylab, running something like pylab.plot([1,2,3],[1,2,3]) pylab.show() does nothing. Doing it from the command line results in a cryptic message about using matplotlib.use() to declare a GUI backend. Can somebody show me how make pylab.plot() and pylab.show() work

[sage-support] Re: Hidden Issues in Optimization

2009-03-02 Thread linuxgus
On Feb 27, 8:48 pm, Carl Witty carl.wi...@gmail.com wrote: On Feb 27, 9:47 am, linuxgus ka8...@amsat.org wrote: Can somebody shed some light on this and/or suggest alternative ways of doing this? Well, when I try debugging this (that is, run your code, see it crash, type: %debug to get

[sage-support] Hidden Issues in Optimization

2009-02-27 Thread linuxgus
,yy],solution_dict=1) When I run the above code, I get: Traceback (most recent call last): File stdin, line 1, in module File /home/nonsense/.sage/sage_notebook/worksheets/linuxgus/1/code/ 1.py, line 38, in module find_fit(B,elp,parameters= [X,Y,x1,y1,x2,y2,lambda1,lambda2],variables= [xx