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

2010-05-27 Thread Vinod
On May 27, 6:40 pm, William Stein wrote: > On Thu, May 27, 2010 at 6:39 PM, Vinod 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? > > > Vinod > > Just type > >  

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

2010-05-27 Thread William Stein
On Thu, May 27, 2010 at 6:39 PM, Vinod 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? > > Vinod Just type sage: hg_sage.apply('http://trac.sagemath.org/sage_trac/

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

2010-05-27 Thread Vinod
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? Vinod On May 27, 6:00 pm, William Stein wrote: > Positive review -- this will be in sage-4.4.3. > > > > On Thu, May 27, 2010 at 5:54

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

2010-05-27 Thread William Stein
Positive review -- this will be in sage-4.4.3. On Thu, May 27, 2010 at 5:54 PM, Mike Hansen wrote: > On Thu, May 27, 2010 at 5:42 PM, William Stein wrote: >> Mike Hansen just told me that he will create such a patch tonight. >> >> http://trac.sagemath.org/sage_trac/ticket/9072 > > The patch is u

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

2010-05-27 Thread Mike Hansen
On Thu, May 27, 2010 at 5:42 PM, William Stein wrote: > Mike Hansen just told me that he will create such a patch tonight. > > http://trac.sagemath.org/sage_trac/ticket/9072 The patch is up, but it needs testing. --Mike -- To post to this group, send email to sage-support@googlegroups.com To u

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

2010-05-27 Thread William Stein
On Thu, May 27, 2010 at 5:32 PM, Vinod wrote: > Yes William, Your code works for me as well. I get a neat plot > displayed as yours. Here the software chosen is sage. > > My question is: > > Is it not possible to write a simple matlab code as I wrote before and > select the option Matlab instead o

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

2010-05-27 Thread Vinod
Yes William, Your code works for me as well. I get a neat plot displayed as yours. Here the software chosen is sage. My question is: Is it not possible to write a simple matlab code as I wrote before and select the option Matlab instead of sage in the list of softwares available and have it worki

Re: [sage-support] Illegal Instruction errors when trying to run sage

2010-05-27 Thread Robert Bradshaw
On May 27, 2010, at 3:22 PM, Alex Goater wrote: Hello, I'm trying to use sage version 4.4.2 within Linux Mint 7 Gloria. I've downloaded the sage-4.4.2-linux-32bit-ubuntu_10.04_lts-i686- Linux.tar.gz from the webiste, unpacked it and tried to run sage and this came up:

[sage-support] Illegal Instruction errors when trying to run sage

2010-05-27 Thread Alex Goater
Hello, I'm trying to use sage version 4.4.2 within Linux Mint 7 Gloria. I've downloaded the sage-4.4.2-linux-32bit-ubuntu_10.04_lts-i686-Linux.tar.gz from the webiste, unpacked it and tried to run sage and this came up: -- | Sage

[sage-support] Internal Instruction Error - pni

2010-05-27 Thread Alex G
Hello, I'm trying to use sage version 4.4.2 within Linux Mint 7 Gloria. I've downloaded the sage-4.4.2-linux-32bit-ubuntu_10.04_lts-i686- Linux.tar.gz from the webiste, unpacked it and tried to run sage and this came up: -- | Sage

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

2010-05-27 Thread William Stein
On Thu, May 27, 2010 at 12:23 PM, Mike Hansen wrote: > On Thu, May 27, 2010 at 12:20 PM, Vinod wrote: >> The simple matlab code I wrote is functional and the sage server >> evaluates it properly and generates the .png file in the directory. >> Only issue that need to be addressed is to get the sa

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

2010-05-27 Thread Mike Hansen
On Thu, May 27, 2010 at 12:20 PM, Vinod wrote: > The simple matlab code I wrote is functional and the sage server > evaluates it properly and generates the .png file in the directory. > Only issue that need to be addressed is to get the sage server display > the plots in the web browser itself. We

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

2010-05-27 Thread Vinod
On May 27, 9:21 am, William Stein wrote: > On Thursday, May 27, 2010, Harald Schilly wrote: > > On May 26, 11:40 pm, Vinod wrote: > >> Is there anything else that needs to be done? > > > It's not working for me either. What I did in a cell is this: > > > import os > > filename = os.path.join(S

Re: [sage-support] MemoryError

2010-05-27 Thread Robert Bradshaw
On May 27, 2010, at 11:31 AM, Rolandb wrote: Hi, I'm running a routine which uses a large data set (13 million elements). After a while the output is: MemoryError no mem for new parser What to do? Thanks in advance for the swift reply! Roland What are you doing with this data? Do you have a

[sage-support] MemoryError

2010-05-27 Thread Rolandb
Hi, I'm running a routine which uses a large data set (13 million elements). After a while the output is: MemoryError no mem for new parser What to do? Thanks in advance for the swift reply! Roland -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this g

Re: [sage-support] Integer.sqrt() memory leak?

2010-05-27 Thread Robert Bradshaw
On May 27, 2010, at 9:07 AM, rickhg12hs wrote: I noticed that doing sqrt() for large integers seems to continually chew up memory. For example: sage: m = get_memory_usage() sage: while True: a = ZZ(randint(2^400,2^800)).sqrt() print get_memory_usage(m) This prints ever increasing memory

[sage-support] Re: representations of sums and functions of sums

2010-05-27 Thread kcrisman
On May 27, 12:05 pm, Juan Jaasiel Rodriguez Ornelas wrote: > Well, here's my problem: > > I'm finding the first few terms for a Fourier transform for a function. I > found a_n and b_n. a_n turns out to always be zero (except a_0), but b_n is > defined as: > > (1/pi)-(cos(pi*n)/pi) > > When I put

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

2010-05-27 Thread William Stein
On Thursday, May 27, 2010, Harald Schilly wrote: > On May 26, 11:40 pm, Vinod wrote: >> Is there anything else that needs to be done? >> > > It's not working for me either. What I did in a cell is this: > > import os > filename = os.path.join(SAGE_TMP,'matlabfig1.png') > matlab("h = figure('Visib

[sage-support] Integer.sqrt() memory leak?

2010-05-27 Thread rickhg12hs
I noticed that doing sqrt() for large integers seems to continually chew up memory. For example: sage: m = get_memory_usage() sage: while True: a = ZZ(randint(2^400,2^800)).sqrt() print get_memory_usage(m) This prints ever increasing memory usage values, but I'm not sure that it should.

Re: [sage-support] Re: representations of sums and functions of sums

2010-05-27 Thread Juan Jaasiel Rodriguez Ornelas
Well, here's my problem: I'm finding the first few terms for a Fourier transform for a function. I found a_n and b_n. a_n turns out to always be zero (except a_0), but b_n is defined as: (1/pi)-(cos(pi*n)/pi) When I put this in sum(b_n*sin(n*x),n,1,5) To find the sum terms of the function I ge

[sage-support] Re: representations of sums and functions of sums

2010-05-27 Thread kcrisman
Dear Jaasiel, Thanks for your request. Can you be a little more specific about your question? It sounds very vague. Do you mean something like this? - kcrisman -- | Sage Version 4.4.2, Release Date: 2010-05-19

[sage-support] representations of sums and functions of sums

2010-05-27 Thread Jaasiel Ornelas
Hi! Is there a way to have sage give a certain number of terms in a sum? And, is there a way to define a function in terms of that sum? Thanks Very Mucho. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr..

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

2010-05-27 Thread Harald Schilly
On May 26, 11:40 pm, Vinod wrote: > Is there anything else that needs to be done? > It's not working for me either. What I did in a cell is this: import os filename = os.path.join(SAGE_TMP,'matlabfig1.png') matlab("h = figure('Visible', 'off')") matlab("plot(1:4,5:8)") matlab("saveas(h,'"+filena