[sage-support] Re: Symbolic algebra expansion of products of sums
ma...@mendelu.cz wrote: You can use commands orderless and ordergreat in Maxima to change the default behavior. For the record, I recommend against that; it's not really the right way to resolve this problem. I'll post another message with a different resolution. Robert Dodier --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Symbolic algebra expansion of products of sums
philabuster wrote: This ordering makes it extremely difficult to do index association from the j-th term of the expansion back into constituent indices of each sum (i0,i1,i2,i3); Well, Sage punts to Maxima (for the moment, anyway) to compute the expansion. The terms are computed in the order you want, but displayed in the reverse order by default. I think powerdisp:true will give the result you expected. What was the rationale? The default ordering displays polynomials in order of decreasing powers. Given j, how would you calculate (i0,i1,i2,i3,...,ik) considering Sage's expansion order? Well, you can get the addends via the args function in Maxima; e.g. powerdisp:true; foo:expand(whatever); args(foo); = some list. Likewise you can get the multiplicands of each term from args. I don't know how to get that through Sage. FWIW Robert Dodier --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: snapshot saving
+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 still not to risk any data loss. This was an experience I have never had with any other software before. For some reason, I was thinking that the auto save in sage works incrementally, like for example in svn. The problem of identical snapshots suggests otherwise. Am I confusing something here? Cheers, Stan Rob Beezer wrote: On Apr 22, 5:36 pm, William Stein wst...@gmail.com wrote: Does anybody here ever use snapshots? I have never used a snapshot, that I am aware of. I've lost a cell or two due to crashes, but I think this was always due to my flaky USB hard drive setup and not Sage's fault. And it was always just messing around while writing lecture notes, or something similarly not too important. 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 create a snapshot if there were no changes, but I don't think that worked as advertised. And the auto-save interval was more like save if there is a trigger and it has been *longer* than the interval It would be nice if (a) autosave, or not, was user-configurable from the notebook settings by user (b) autosave interval could be set to *any* integer number of seconds/ minutes (maybe 0 means don't) in notebook settings (c) There really weren't ever identical snapshots created (d) William's idea of phased snapshots (fewer as they age) was implemented since it is a good idea. Is it problematic to spawn a thread that just sleeps for an interval and then wakes up to consider making a snapshot? Anyway, this isn't meant to be a proposal, just the suggestion that if properly designed, then a useful, unobtrusive backup system should be possible. I hope to review William's patch soon, but will let this thread run its course first. Rob -- --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Minor sage 3.4/jsMath3.6b rendering issue in IE7
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 you changed in the notebook itself? In any case, I can't really diagnose the problem as it stands. Davide --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Minor sage 3.4/jsMath3.6b rendering issue in IE7
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, or is it something you changed in the notebook itself? In any case, I can't really diagnose the problem as it stands. My guess is that he originally evaluated that cell while the Typeset box at the top of the worksheet was checked. That would produce a jsmath version of the output. Then later, when the box was unchecked, he evaluated the cell again, which replaced the jsmath version with a non-jsmath version of output. I've posted a worksheet containing what I *think* was the original problem: http://sagenb.org/home/pub/478/ Thanks, Jason --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: snapshot saving
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 rational form, will ever come back if this patch is merged, because it depends on the people who understand that code enough to do it. This seems problematic. But for now even reducing the default number autosaved to 100, or 30, or 2, or some integer greater than zero, would seem to be a good strategy. E.g. for power outages or battery failures or whatever. - kcrisman --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: snapshot saving
On Fri, Apr 24, 2009 at 5:51 AM, kcrisman kcris...@gmail.com 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 that there is no guarantee that the autosave, in some rational form, will ever come back if this patch is merged, because it depends on the people who understand that code enough to do it. This seems problematic. You shouldn't worry about that. I've hired Mike Hansen fulltime to work fulltime from now until at least the end of the summer, and I'm confident he will fix the issues as part of a broader project he is working on. This isn't going to just languish forever. William --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: snapshot saving
On Fri, Apr 24, 2009 at 12:35 AM, Stan Schymanski schym...@gmail.com 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 state of the worksheet is also saved. This will still happen fairly frequently. It is such a great peace of mind not to have to remember to save your work regularly and still not to risk any data loss. This was an experience I have never had with any other software before. +1 -- I also hate software that causes one to lose work, which is partly why Sage tries so hard not to. For some reason, I was thinking that the auto save in sage works incrementally, like for example in svn. The problem of identical snapshots suggests otherwise. Am I confusing something here? It *should* work incrementally, and could be implemented that way. However that would be more work, and nobody has done that work yet. Cheers, Stan Rob Beezer wrote: On Apr 22, 5:36 pm, William Stein wst...@gmail.com wrote: Does anybody here ever use snapshots? I have never used a snapshot, that I am aware of. I've lost a cell or two due to crashes, but I think this was always due to my flaky USB hard drive setup and not Sage's fault. And it was always just messing around while writing lecture notes, or something similarly not too important. 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 create a snapshot if there were no changes, but I don't think that worked as advertised. And the auto-save interval was more like save if there is a trigger and it has been *longer* than the interval It would be nice if (a) autosave, or not, was user-configurable from the notebook settings by user (b) autosave interval could be set to *any* integer number of seconds/ minutes (maybe 0 means don't) in notebook settings (c) There really weren't ever identical snapshots created (d) William's idea of phased snapshots (fewer as they age) was implemented since it is a good idea. Is it problematic to spawn a thread that just sleeps for an interval and then wakes up to consider making a snapshot? Anyway, this isn't meant to be a proposal, just the suggestion that if properly designed, then a useful, unobtrusive backup system should be possible. I hope to review William's patch soon, but will let this thread run its course first. Rob -- -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: snapshot saving
On Fri, Apr 24, 2009 at 5:51 AM, kcrisman kcris...@gmail.com 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 that there is no guarantee that the autosave, in some rational form, will ever come back if this patch is merged, because it depends on the people who understand that code enough to do it. This seems problematic. But for now even reducing the default number autosaved to 100, or 30, or 2, or some integer greater than zero, would seem to be a good strategy. E.g. for power outages or battery failures or whatever. Even with the patch we're discussing, the total number of snapshots produced by people on sagenb.org in the last 20 hours is over 10,000: s...@sagenb:~/sagenb$ ls -1 */worksheets/*/*/snapshots/*|wc -l 10395 So it really doesn't cut down on them very much. Of course a lot of people use sagenb.org, e.g., well over 100 distinct uses just *yesterday*, and over 7200 registered users. I also like the idea to reduce the total max number of autosaved to some fixed number, e.g., 30. -- William --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Cython help
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: Ring=PolynomialRing(ZZ,'q,t') q,t=Ring.gens() A=PolynomialRing(Ring,'x1,x1L,x1R,x2,x2L,x2R') x1,x1L,x1R,x2,x2L,x2R=A.gens() xnplus3=[] xnegn=[] zn=[] def qnumber(n): g(q,t)=(q^n-t^n)/(q-t) return g def qfactorial(n): prod(q,t)=1 for k in range(n): prod(q,t)=prod*qnumber(k+1) return prod def quantumBinomial(n,k): f(q,t)=factor(qfactorial(n)/(qfactorial(k)*qfactorial(n-k))) return f(q,q^(-1)) def L(x1x2_expr): f=x1x2_expr.substitute({x1:x1L,x2:x2L}) return f def R(x1x2_expr): f=x1x2_expr.substitute({x1:x1R,x2:x2R}) return f def x_nplus3(n): s=X(-n-1,n+2) #x1^(-n-1)*x2^(n+2) for p in range(n+1): for r in range(n+1-p): b1=quantumBinomial(n-r,p) b2=quantumBinomial(n+1-p,r) s=s+b1*b2*X(2*p-n-1,2*r-n) return s def commute(LR_expr): Sum=0 Coeffs=LR_expr.coeffs(x2L) for Term in Coeffs: Term[0]=Term[0].substitute({x1L:x1,x1R:q^(-Term[1]) *x1,x2R:x2}) Sum=Sum+Term[0]*x2^(Term[1]) Coeffs=Sum.coeffs(x1) Sum=0 for Term in Coeffs: coeffs=Term[0].coeffs(x2) for term in coeffs: p=q^(-term[1]*Term[1]/2) adj_qterm=term[0]/p qcoeffs=adj_qterm.coeffs(q) new_qterm=0 for qterm in qcoeffs: if qterm[1]=0: new_qterm=new_qterm+qterm[0]*q^(qterm[1]) if qterm[1]0: new_qterm=new_qterm+qterm[0]*t^(-qterm[1]) Sum=Sum+factor(new_qterm)*p*x1^(Term[1])*x2^(term[1]) return Sum.substitute({t:q^(-1)}) I am hoping to get a few pointers and suggestions for making my code compatible with cython. Thank you for your time. Dylan --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Cython help
Hi Dylan, On Fri, Apr 24, 2009 at 12:47 PM, drupel dylanru...@gmail.com 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 so that you can see the types of manipulations I hope to speed up: I would not think about using Cython until you know what is taking all of the time in your program. What would really be useful is some sample input of the computations that you want to run (along with the code that makes them work) so some actual profiling can be done. Just looking at your code, it seems like.most of the slowdown could come from doing arithmetic with symbolic expressions which currently talk to Maxima and have quite a bit of overhead. This will change in Sage 4.0 which will be out next month. --Mike --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Cython help
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, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Cython help
On Fri, Apr 24, 2009 at 1:40 PM, drupel dylanru...@gmail.com 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 where all of the time is being spent. If not, I will wait until Sage 4.0 comes out and see what happens. If you send me your code (along with sample runs), I'll go through and speed things up for you. That are optimizations that you can do by just being conscious of data types and things like that. --Mike --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Search help on substrings of function names?
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 almost by accident - I also couldn't find a list of all number theory functions. Thanks, Alasdair --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: sage error 6520
On Apr 24, 10:49 am, Mikie thephantom6...@hotmail.com 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 it is any recent release you should have gotten a warning at startup. Cheers, Michael --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Search help on substrings of function names?
On Apr 24, 1:42 pm, Alasdair amc...@gmail.com 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 containing the string gcd. As it was I found it almost by accident - I also couldn't find a list of all number theory functions. Thanks, Alasdair sage: search_def('gcd') The documentation for search_def says: Search Sage library source code for function names containing ``name`` The search is not case sensitive. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: sage error 6520
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 michael.absh...@mathematik.uni- dortmund.de wrote: On Apr 24, 10:49 am, Mikie thephantom6...@hotmail.com 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 it is any recent release you should have gotten a warning at startup. Cheers, Michael --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: sage error 6520
Sage is trying to modify the file sage-flags.txt. On Apr 24, 3:29 pm, Mikie thephantom6...@hotmail.com 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: pni On Apr 24, 3:04 pm, mabshoff michael.absh...@mathematik.uni- dortmund.de wrote: On Apr 24, 10:49 am, Mikie thephantom6...@hotmail.com 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 it is any recent release you should have gotten a warning at startup. Cheers, Michael- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: sage error 6520
On Apr 24, 2:33 pm, Mikie thephantom6...@hotmail.com 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 thephantom6...@hotmail.com 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: pni Yeah, no surprised there. You don't have SSE3 (==pni), so things do blow up as expected. Maybe the warning message should be more explicit, i.e. add This Sage release will likely fail with 'illegal instruction BLAH BLAH' :) Sage 3.4.1 which binaries I should post in the next couple hours has been build to use only SSE2, so that one should work for you. Cheers, Michael --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Cython help
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 mhan...@gmail.com wrote: On Fri, Apr 24, 2009 at 1:40 PM, drupel dylanru...@gmail.com 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 where all of the time is being spent. If not, I will wait until Sage 4.0 comes out and see what happens. If you send me your code (along with sample runs), I'll go through and speed things up for you. That are optimizations that you can do by just being conscious of data types and things like that. --Mike --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Search help on substrings of function names?
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 jhpalmier...@gmail.com wrote: On Apr 24, 1:42 pm, Alasdair amc...@gmail.com 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 containing the string gcd. As it was I found it almost by accident - I also couldn't find a list of all number theory functions. Thanks, Alasdair sage: search_def('gcd') The documentation for search_def says: Search Sage library source code for function names containing ``name`` The search is not case sensitive. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Why this numerical integral bombs?
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] --- ValueErrorTraceback (most recent call last) /home/seb/ipython console in module() /usr/local/sage-3.4/local/lib/python2.5/site-packages/sage/gsl/ integration.so in sage.gsl.integration.numerical_integral (sage/gsl/ integration.c:1229)() ValueError: Integrand has wrong number of parameters --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Why this numerical integral bombs?
On Apr 24, 7:03 pm, Chris Seberino cseber...@gmail.com 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 current merge tree: -- | Sage Version 3.4.2.alpha0, Release Date: 2009-04-24| | Type notebook() for the GUI, and license() for information.| -- sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] 0.85397903781471396 sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] 0.85397903781471396 sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] 0.85397903781471396 sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] 0.85397903781471396 sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] 0.85397903781471396 sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] 0.85397903781471396 sage: 3.4.1: -- | Sage Version 3.4.1, Release Date: 2009-04-21 | | Type notebook() for the GUI, and license() for information.| -- sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] 0.85397903781471396 sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] 0.85397903781471396 sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] 0.85397903781471396 sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] 0.85397903781471396 sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] 0.85397903781471396 sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] 0.85397903781471396 sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] 0.85397903781471396 sage: And Sage 3.4: | Sage Version 3.4, Release Date: 2009-03-11 | | Type notebook() for the GUI, and license() for information.| -- sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] 0.85397903781471396 sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] 0.85397903781471396 sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] 0.85397903781471396 sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] 0.85397903781471396 sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] 0.85397903781471396 sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] 0.85397903781471396 sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] 0.85397903781471396 sage: So I cannot reproduce this. What platform are you on and are you using a binary, build from source, etc? Cheers, Michael --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] notebook doesn't open
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 how to fix this problem. your help is dearly appreciated. Thank you all... --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Slackware/Zenwalk package
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 but I still heard the harddisc working. So I went to bed and this morning the compilation is in fact done, but with an error. The simple but true reason is that there is no space left on the sda1 device, just as the installer told me. So there are still some options left to get a local sage with Minh's manual, more RAM and more HD- space. I am going to report it to you here when the installation is successfull. Also I will look up Minh's wiki in which folder to place sage. Thanks! Markus --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---