[sage-support] expression evaluation with dynamically generated variables

2009-04-24 Thread Eric
Hello, I need to be able to evaluate an expression, where the expression is composed of dynamically generated variables. For example, I might have a list "var_list", a list "data_list", and an expression "exprssn". Here 1) var_list is a list of variables, where every element in var_list was creat

[sage-support] Re: Why this numerical integral bombs?

2009-04-24 Thread Chris Seberino
On Apr 24, 7:09 pm, mabshoff wrote: > So I cannot reproduce this. What platform are you on and are you using > a binary, build from source, etc? I'm on an Ubuntu 9.04 ThinkPad T41 laptop. I built my Sage install from 3.4 source myself as there was no binary yet for this latest Ubuntu. cs --~

[sage-support] Re: Slackware/Zenwalk package

2009-04-24 Thread littlemathteacher
Dear Minh, dear Michael, thanks a lot. Thanks to Minh for this simple but fine idea to compile in a command line session! Meanwhile the RAM I had bought has arrived and with the now available more than 300 MB I let the compiler run once again. This time it seemed to "freeze" at the same point

[sage-support] notebook doesn't open

2009-04-24 Thread Yo-Yo
Hello all. hope all is well w/ all of u. anywho, when ever i try to use the sage program by writing note as it instructs me to do so, it doesn't appear to work. i am getting an error which states, "sh: cannot create notebook.log: Permission denied echo: write erro: Broken pipe" Does any one kno h

[sage-support] Re: Why this numerical integral bombs?

2009-04-24 Thread mabshoff
On Apr 24, 7:03 pm, Chris Seberino wrote: Hi, > Notice first and second are very similar except for the cos() and exp > (). > > Why first one ok but second bombs? > > sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] > 0.85397903781471396 I guess you are using Sage 3.4? Works for me in my

[sage-support] Why this numerical integral bombs?

2009-04-24 Thread Chris Seberino
Notice first and second are very similar except for the cos() and exp (). Why first one ok but second bombs? sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] 0.85397903781471396 sage: numerical_integral(sin(pi*exp(x/2)),0,2)[0] -

[sage-support] Re: Search help on substrings of function names?

2009-04-24 Thread Alasdair
Thanks - that's just what I wanted to know. Wouldn't be nice if Sage had something like Matlab's "lookfor" command, which gives you the name of all functions containing that substring, and a very brief (half line) description. -A. On Apr 25, 7:29 am, John H Palmieri wrote: > On Apr 24, 1:42 pm

[sage-support] Re: Cython help

2009-04-24 Thread drupel
I sent a copy of my code and a few samples of what I would like to do with it to your gmail. Thanks for your help, Dylan On Apr 24, 1:48 pm, Mike Hansen wrote: > On Fri, Apr 24, 2009 at 1:40 PM, drupel wrote: > > Thanks Mike, > > Is it possible to do the symbolic computations with Cython? > >

[sage-support] Re: sage error 6520

2009-04-24 Thread mabshoff
On Apr 24, 2:33 pm, Mikie wrote: > Sage is trying to modify the file sage-flags.txt. It should open it read only, but let me check. > On Apr 24, 3:29 pm, Mikie wrote: > > > Version 3.4 for CentOS rel 5_2.   Before I get the error below it says > > "Warning; Sage was built on a machine that d

[sage-support] Re: sage error 6520

2009-04-24 Thread Mikie
Sage is trying to modify the file sage-flags.txt. On Apr 24, 3:29 pm, Mikie wrote: > Version 3.4 for CentOS rel 5_2.   Before I get the error below it says > "Warning; Sage was built on a machine that does not support > instructions for this computer.  Processor flags not on this > computer:  pn

[sage-support] Re: sage error 6520

2009-04-24 Thread Mikie
Version 3.4 for CentOS rel 5_2. Before I get the error below it says "Warning; Sage was built on a machine that does not support instructions for this computer. Processor flags not on this computer: pni On Apr 24, 3:04 pm, mabshoff wrote: > On Apr 24, 10:49 am, Mikie wrote: > > Hi, > > > Ju

[sage-support] Re: Search help on substrings of function names?

2009-04-24 Thread John H Palmieri
On Apr 24, 1:42 pm, Alasdair wrote: > Is there a way of searching for functions which contain a particular > string in their names?  Yesterday I was trying to find the extended > Euclidean algorithm (xgcd); my search would have been trivial if I > could have searched for all functions containin

[sage-support] Re: sage error 6520

2009-04-24 Thread mabshoff
On Apr 24, 10:49 am, Mikie wrote: Hi, > Just installed Sage on CentOS 5.3 server.  Local system.  I am getting > "sage-sage: line 197 6520 Illegal instruction sage-ipyth "$@" -i". > Any help would be appreciated. What Sage release precisely are you using, i.e. version, binary name, etc? If i

[sage-support] Search help on substrings of function names?

2009-04-24 Thread Alasdair
Is there a way of searching for functions which contain a particular string in their names? Yesterday I was trying to find the extended Euclidean algorithm (xgcd); my search would have been trivial if I could have searched for all functions containing the string "gcd". As it was I found it almos

[sage-support] Re: Cython help

2009-04-24 Thread Mike Hansen
On Fri, Apr 24, 2009 at 1:40 PM, drupel wrote: > Thanks Mike, > Is it possible to do the symbolic computations with Cython? Yes, you can do them from within Cython, but it's not going to give you the speed up that you might think / want. Making code faster is almost entirely finding out exactly

[sage-support] Re: Cython help

2009-04-24 Thread drupel
Thanks Mike, Is it possible to do the symbolic computations with Cython? If not, I will wait until Sage 4.0 comes out and see what happens. Dylan --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group

[sage-support] Re: Cython help

2009-04-24 Thread Mike Hansen
Hi Dylan, On Fri, Apr 24, 2009 at 12:47 PM, drupel wrote: > > Hi all, > I am new to Sage and I don't quite understand how to convert my code > to cython code to speed up my program.  I am doing a lot of symbolic > manipulations and using the PolynomialRing object.  Below I have some > of my code

[sage-support] Cython help

2009-04-24 Thread drupel
Hi all, I am new to Sage and I don't quite understand how to convert my code to cython code to speed up my program. I am doing a lot of symbolic manipulations and using the PolynomialRing object. Below I have some of my code so that you can see the types of manipulations I hope to speed up: R

[sage-support] Re: Minor sage 3.4/jsMath3.6b rendering issue in IE7

2009-04-24 Thread Kevin Horton
On 24 Apr 2009, at 06:55, Jason Grout wrote: > dpvc wrote: >> It looks like this notebook no longer uses jsMath to render the >> result >> of var('n m'), so I can't reproduce the problem you describe. I do >> know that jsMath was used earlier when we were looking at the IE font >> issue. Did

[sage-support] Re: A problem with the simplify command

2009-04-24 Thread drupel
Thanks for the help! The expression that I had was a result of a previous computation and I did not realize that I had to expand the expression and the simplify command would not multiply then cancel common terms. On Apr 23, 9:38 pm, Minh Nguyen wrote: > On Fri, Apr 24, 2009 at 4:37 AM, Minh Ng

[sage-support] sage error 6520

2009-04-24 Thread Mikie
Just installed Sage on CentOS 5.3 server. Local system. I am getting "sage-sage: line 197 6520 Illegal instruction sage-ipyth "$@" -i". Any help would be appreciated. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsub

[sage-support] Re: snapshot saving

2009-04-24 Thread William Stein
On Fri, Apr 24, 2009 at 5:51 AM, kcrisman wrote: > >> > I like the way the proposed patch wipes the slate fairly clean.  But I >> > sort of hope it is temporary and at some point a rational autosave >> > strategy of some sort is implemented.    There was an attempt to not > > The only issue is th

[sage-support] Re: snapshot saving

2009-04-24 Thread William Stein
On Fri, Apr 24, 2009 at 5:51 AM, kcrisman wrote: > >> > I like the way the proposed patch wipes the slate fairly clean.  But I >> > sort of hope it is temporary and at some point a rational autosave >> > strategy of some sort is implemented.    There was an attempt to not > > The only issue is th

[sage-support] Re: snapshot saving

2009-04-24 Thread William Stein
On Fri, Apr 24, 2009 at 12:35 AM, Stan Schymanski wrote: > > +1 for a 'smart' auto backup system. I don't know whether it was the > snapshot saving or what did it, but I never bothered saving notebooks > while working with them and never lost any data after crashes. When a snapshot is taken the

[sage-support] Re: snapshot saving

2009-04-24 Thread kcrisman
> > I like the way the proposed patch wipes the slate fairly clean.  But I > > sort of hope it is temporary and at some point a rational autosave > > strategy of some sort is implemented.    There was an attempt to not The only issue is that there is no guarantee that the autosave, in some "ratio

[sage-support] Re: Minor sage 3.4/jsMath3.6b rendering issue in IE7

2009-04-24 Thread Jason Grout
dpvc wrote: > It looks like this notebook no longer uses jsMath to render the result > of var('n m'), so I can't reproduce the problem you describe. I do > know that jsMath was used earlier when we were looking at the IE font > issue. Did this change as a result of the Sage update that you did,

[sage-support] Re: Minor sage 3.4/jsMath3.6b rendering issue in IE7

2009-04-24 Thread dpvc
It looks like this notebook no longer uses jsMath to render the result of var('n m'), so I can't reproduce the problem you describe. I do know that jsMath was used earlier when we were looking at the IE font issue. Did this change as a result of the Sage update that you did, or is it something y

[sage-support] Re: snapshot saving

2009-04-24 Thread Stan Schymanski
+1 for a 'smart' auto backup system. I don't know whether it was the snapshot saving or what did it, but I never bothered saving notebooks while working with them and never lost any data after crashes. It is such a great peace of mind not to have to remember to save your work regularly and sti