[sage-support] Re: Sage Server - displaying Matlab plots

2010-05-28 Thread Vinod
On May 27, 6:40 pm, William Stein wst...@gmail.com wrote: On Thu, May 27, 2010 at 6:39 PM, Vinod vinodprab...@gmail.com wrote: That's Awesome! Thanks for the help. When would the sage4.4.3 release? Should I wait till then or is it possible for you guys to post the patch here in the forum?

Re: [sage-support] Re: Sage Server - displaying Matlab plots

2010-05-28 Thread William Stein
On Thu, May 27, 2010 at 11:53 PM, Vinod vinodprab...@gmail.com wrote: On May 27, 6:40 pm, William Stein wst...@gmail.com wrote: On Thu, May 27, 2010 at 6:39 PM, Vinod vinodprab...@gmail.com wrote: That's Awesome! Thanks for the help. When would the sage4.4.3 release? Should I wait till

[sage-support] error occurred while installing libgcrypt-1.4.4.p2: undefined reference to symbol 'gpg_strerror'

2010-05-28 Thread domingo.domingogo...@gmail.com
Hi to all, I have installed the latest Fedora 13 with the latest sage 4.4.2 from source. The computer architecture is 32 bits and I install all the necessary compilers and libgpg-error-devel using yum. When I tried to build from source, it appears this message error: gcc

[sage-support] Integrate dirichlet distribution problem

2010-05-28 Thread John Reid
Hi, I'm new to sage and am trying to work out how to use it to do some calculus on various probability distributions I have. It seems to integrate a beta distribution well but I can't get it to manage a Dirichlet distribution. Am I missing something or is this beyond its scope? Here's my

[sage-support] bug in maxima solve?

2010-05-28 Thread Nils Bruin
I have not been able to get the following behaviour out of maxima directly, but the following code illustrates that maxima's solve forgets about some solutions: def realzeros(f,g): t = polygen(QQbar) P = parent(f) R = f.resultant(g,P.0) yvals = [yval[0] for yval in R(0,t).roots()

[sage-support] How can I get a PDF from a .show() acting on an expression, from within the notebook ?

2010-05-28 Thread Nicolas
Hi all, I am trying to get, from within the notebook, a PDF from the show method acting on an expression, just like sage does when used on the command line. It works very nicely for graphics objects but I have not figured out either how to get a graphics object from a nicely typeset expression of

[sage-support] Re: bug in maxima solve?

2010-05-28 Thread kcrisman
On May 28, 9:00 am, Nils Bruin nbr...@sfu.ca wrote: I have not been able to get the following behaviour out of maxima directly, but the following code illustrates that maxima's solve forgets about some solutions: def realzeros(f,g):     t = polygen(QQbar)     P = parent(f)     R =

Re: [sage-support] How can I get a PDF from a .show() acting on an expression, from within the notebook ?

2010-05-28 Thread Robert Bradshaw
On May 28, 2010, at 6:13 AM, Nicolas wrote: Hi all, I am trying to get, from within the notebook, a PDF from the show method acting on an expression, just like sage does when used on the command line. It works very nicely for graphics objects but I have not figured out either how to get a

[sage-support] Magma on a mac

2010-05-28 Thread VictorMiller
I have magma and sage 4.4.1 installed on my macbook pro. I've made sure that the magma command is on my PATH. Yet when I run sage, and I try and call to magma.eval, it says that it can't find magma. This has worked without problem on my linux workstation at work. So what needs to be done to

Re: [sage-support] Magma on a mac

2010-05-28 Thread William Stein
On Fri, May 28, 2010 at 11:03 AM, VictorMiller victorsmil...@gmail.com wrote: I have magma and sage 4.4.1 installed on my macbook pro.  I've made sure that the magma command is on my PATH.  Yet when I run sage, and I try and call to magma.eval, it says that it can't find magma.  This has

[sage-support] Re: Sage Server - displaying Matlab plots

2010-05-28 Thread Vinod
On May 28, 12:08 am, William Stein wst...@gmail.com wrote: On Thu, May 27, 2010 at 11:53 PM, Vinod vinodprab...@gmail.com wrote: On May 27, 6:40 pm, William Stein wst...@gmail.com wrote: On Thu, May 27, 2010 at 6:39 PM, Vinod vinodprab...@gmail.com wrote: That's Awesome! Thanks for the

[sage-support] Re: Sage Server - displaying Matlab plots

2010-05-28 Thread Jason Grout
On 5/28/10 1:53 AM, Vinod wrote: Now I have a different error message in the terminal when I try to execute the matlab code involving plots in the webserver X11 connection rejected because of wrong authentication. I verified all the X11 settings and it looks fine. The link lists all the

[sage-support] Weird error message from random_element

2010-05-28 Thread VictorMiller
Here's something a bit odd: sage: F = GF(2) sage: A = CartesianProduct(F,F) sage: print A.random_element() This gets a trace back and the message TypeError: You must specify the names of the variables Victor -- To post to this group, send email to sage-support@googlegroups.com To

Re: [sage-support] error occurred while installing libgcrypt-1.4.4.p2: undefined reference to symbol 'gpg_strerror'

2010-05-28 Thread Mike Hansen
On Fri, May 28, 2010 at 12:36 AM, domingo.domingogo...@gmail.com domingo.domingogo...@gmail.com wrote: I have all the necessary packages and additionally libgpg-error and libgpg-error-devel, could someone point what I am doing wrong? There seems to be a problem with libgcrypt on Fedora 13. It

[sage-support] typesetting arrays

2010-05-28 Thread Jim Ragsdale
System info: 'Sage Version 4.4.2, Release Date: 2010-05-19' Compiled from source on Gentoo Linux. All, I am trying to get an array to show show properly in the notebook. if I execute the following code: input: a=np.ones((3,3)) a output: array([[ 1., 1., 1.], [ 1., 1., 1.], [

[sage-support] Re: Magma on a mac

2010-05-28 Thread VictorMiller
More data: If I start sage and then type !magma it starts up Magma. I then exit from it (by typing exit;) and start the notebook. However, if I try to run magma from the notebook, I get the message Type Error: unable to start magma What's going on? Victor On May 28, 2:11 pm, William Stein

Re: [sage-support] Re: Magma on a mac

2010-05-28 Thread William Stein
On Fri, May 28, 2010 at 3:33 PM, VictorMiller victorsmil...@gmail.com wrote: More data:  If I start sage and then type !magma it starts up Magma.  I then exit from it (by typing exit;) and start the notebook. However, if I try to run magma from the notebook, I get the message Type Error:

[sage-support] Re: Magma on a mac

2010-05-28 Thread VictorMiller
I'm in the notebook and I typed os.system('magma') It's now over 5 minutes, and it still hasn't come back! While I was waiting I went a terminal and typed magma and it started within less than a second. Something weird. Victor On May 28, 6:55 pm, William Stein wst...@gmail.com wrote: On Fri,

[sage-support] Re: Magma on a mac

2010-05-28 Thread Jason Grout
On 5/28/10 6:15 PM, VictorMiller wrote: I'm in the notebook and I typed os.system('magma') It's now over 5 minutes, and it still hasn't come back! While I was waiting I went a terminal and typed magma and it started within less than a second. Something weird. Does it say anything in the

Re: [sage-support] Re: Magma on a mac

2010-05-28 Thread William Stein
On Fri, May 28, 2010 at 4:15 PM, VictorMiller victorsmil...@gmail.com wrote: I'm in the notebook and I typed os.system('magma') It's now over 5 minutes, and it still hasn't come back!  While I was waiting I went a terminal and typed magma and it started within less than a second. Something

[sage-support] Re: Magma on a mac

2010-05-28 Thread VictorMiller
After 1/2 hour (!) I decided to interrupt the worksheet, quite the notebook, quite sage, and then restart sage. Now when I try os.system('mamga') it comes back right away with Can't open Magma password file .magmapass 256 However, I have no trouble starting magma from a terminal or from sage

Re: [sage-support] Re: Magma on a mac

2010-05-28 Thread William Stein
On Fri, May 28, 2010 at 5:07 PM, VictorMiller victorsmil...@gmail.com wrote: After 1/2 hour (!) I decided to interrupt the worksheet, quite the notebook, quite sage, and then restart sage.  Now when I try os.system('mamga') it comes back right away with Can't open Magma password file

[sage-support] Re: Magma on a mac

2010-05-28 Thread Jason Grout
On 5/28/10 7:10 PM, William Stein wrote: On Fri, May 28, 2010 at 5:07 PM, VictorMillervictorsmil...@gmail.com wrote: After 1/2 hour (!) I decided to interrupt the worksheet, quite the notebook, quite sage, and then restart sage. Now when I try os.system('mamga') it comes back right away with

[sage-support] Re: Sage Server - displaying Matlab plots

2010-05-28 Thread Vinod
On May 28, 12:38 pm, Jason Grout jason-s...@creativetrax.com wrote: On 5/28/10 1:53 AM, Vinod wrote: Now I have a different error message in the terminal when I try to execute the matlab code involving plots in the webserver X11 connection rejected because of wrong authentication.

[sage-support] Re: Sage Server - displaying Matlab plots

2010-05-28 Thread Jason Grout
On 5/28/10 7:47 PM, Vinod wrote: X11 connection rejected because of wrong authentication. Warning: Unable to open display 'localhost:12.0'. You will not be able to display graphics on the screen. So now it's not a Sage question, but a question of how to run Matlab over an ssh session.

Re: [sage-support] Re: Sage Server - displaying Matlab plots

2010-05-28 Thread William Stein
On Fri, May 28, 2010 at 5:52 PM, Jason Grout jason-s...@creativetrax.com wrote: On 5/28/10 7:47 PM, Vinod wrote: X11 connection rejected because of wrong authentication. Warning: Unable to open display 'localhost:12.0'.  You will not be able to display graphics on the screen. So now it's

Re: [sage-support] Re: Magma on a mac

2010-05-28 Thread William Stein
On Fri, May 28, 2010 at 5:46 PM, Jason Grout jason-s...@creativetrax.com wrote: On 5/28/10 7:10 PM, William Stein wrote: On Fri, May 28, 2010 at 5:07 PM, VictorMillervictorsmil...@gmail.com  wrote: After 1/2 hour (!) I decided to interrupt the worksheet, quite the notebook, quite sage, and

[sage-support] Re: Magma on a mac

2010-05-28 Thread VictorMiller
Ah, that's it. I had put the .magmapass file in my home directory, but never set up MAGMAPASSFILE as an environment variable. For some reason when I started magma from the command line, or with !magma this didn't bother it, but from the notebook it did. I added something to set MAGMAPASSFILE

[sage-support] Re: Sage Server - displaying Matlab plots

2010-05-28 Thread Jason Grout
On 5/28/10 8:08 PM, William Stein wrote: On Fri, May 28, 2010 at 5:52 PM, Jason Grout jason-s...@creativetrax.com wrote: On 5/28/10 7:47 PM, Vinod wrote: X11 connection rejected because of wrong authentication. Warning: Unable to open display 'localhost:12.0'. You will not be able to

Re: [sage-support] Re: Sage Server - displaying Matlab plots

2010-05-28 Thread William Stein
On Fri, May 28, 2010 at 6:24 PM, Jason Grout jason-s...@creativetrax.com wrote: On 5/28/10 8:08 PM, William Stein wrote: On Fri, May 28, 2010 at 5:52 PM, Jason Grout jason-s...@creativetrax.com  wrote: On 5/28/10 7:47 PM, Vinod wrote: X11 connection rejected because of wrong

[sage-support] Re: Magma on a mac

2010-05-28 Thread VictorMiller
Aha! I did some further investigation and found that I had the following line in my ~/.bash_profile file MAGMAPASSFILE=.magmapass However, it should have been MAGMAPASSFILE=~/.magmapass so that's why it couldn't find it because it was running in a directory not my home directory. Victor On

[sage-support] Re: MemoryError

2010-05-28 Thread Rolandb
Tnx Robert, I rewrote the routine somewhat to use less stored values. Still I got the following message: error: no more memory System -1596988k:2096917k Appl -1763860k/20285k Malloc 277k/0k Valloc -1743852k/20285k Pages 612613/0 Regions 5045:5045 What does this tell me? Roland On 27 mei,