[sage-support] Small groups library is missing
Dear Sage supporters, I just did an install of Sage-3.3 from sources. I also installed the optional packages database_gap-4.4.10 and gap_packages-4.4.10_6. Nevertheless, when doing sage: gap('NumberSmallGroups(128)') an error is raised, telling that the Small Groups library is required but not installed. What goes wrong here? Cheers, Simon --~--~-~--~~~---~--~~ 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: Migrating notebooks etc. in VM
On Thu, Feb 26, 2009 at 3:50 PM, kcrisman wrote: > > > > On Feb 26, 3:28 pm, kcrisman wrote: >> > *All* information -- worksheets, logins, etc. -- is in >> > /home/notebook/sage_notebook. To migrate the entire notebook to a new >> > vmware image all you have to do is copy the sage_notebook directory >> > over. That's what your sysadmin evidently tried maybe to do, and if >> > he/she were to do it then it would work fine. Commands to do this: >> >> > cd /home/notebook/ >> > tar jcvf sage_notebook.tar.bz2 sage_notebook >> > scp sage_notebook.tar.bz2 [somewhere] >> >> > login to new machine >> >> > cd /home/notebook >> > rm -rf sage_notebook >> > scp [somewhere]/sage_notebook.tar.bz2 >> > tar jxvf sage_notebook.tar.bz2 >> >> We just tried that with upgrading (from 3.0.6) to 3.2.3, the most >> recent image available. Apparently it did not work; I will ask for >> details and report back. The only additional thing sysadmin did which >> is not above was to remove the (7 GB!!!) of snapshots which had been >> generated, but presumably that wouldn't cause a problem, would it? >> > > sysadmin: "The instructions you included for copying the notebooks is > nearly exactly what I did except I didn't use bzip2 for compression > AND I excluded the snapshot files. Even after restarting the system, > however, I was not able to log in unless I created a new notebook. I > suppose I could try copying the snapshots, but there is a huge number > of them (perhaps several gigabytes worth)..." The snapshots are irrelevant. Are you using the sage-vmware-3.2.3.zip VMware for Windows virtual machine? What are you using? If you get the permissions right, etc., then copying the .sage directory over must work. 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: XML-RPC
On Thu, Feb 26, 2009 at 6:15 PM, Dan Drake wrote: > On Thu, 26 Feb 2009 at 11:00AM -0800, dracero wrote: >> I new with SAGE and I trying to use it with moodle. I install the >> Algebra´s module for moodle but i need to start the SAGE XML-RPC >> server. I read the instructiosn in the SAGE´s install file but I just >> found how to start the notebook server but didn´t find anything about >> XML-RPC server. >> ¿Could anyone help me to solve my problem? Check out http://docs.python.org/library/simplexmlrpcserver.html#simple-xmlrpc-servers xmlrpc is a general Python capability that Sage just inherits. You can use any of Sage's functionality through xmlrpc. As Dan Mentioned this is disjoint from the sage notebook, which doesn't use xmlrpc. William > > The notebook server doesn't use XML-RPC (at least, not that I know of). > If you need remote access to Sage, there is a JSON-based API: > > http://trac.sagemath.org/sage_trac/ticket/2346 > http://hg.sagemath.org/sage-main/file/b0aa7ef45b3c/sage/server/simple/twist.py > > Just out of curiosity, what to do want to do with Sage and Moodle? > --~--~-~--~~~---~--~~ 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: XML-RPC
On Thu, 26 Feb 2009 at 11:00AM -0800, dracero wrote: > I new with SAGE and I trying to use it with moodle. I install the > Algebra´s module for moodle but i need to start the SAGE XML-RPC > server. I read the instructiosn in the SAGE´s install file but I just > found how to start the notebook server but didn´t find anything about > XML-RPC server. > ¿Could anyone help me to solve my problem? The notebook server doesn't use XML-RPC (at least, not that I know of). If you need remote access to Sage, there is a JSON-based API: http://trac.sagemath.org/sage_trac/ticket/2346 http://hg.sagemath.org/sage-main/file/b0aa7ef45b3c/sage/server/simple/twist.py Just out of curiosity, what to do want to do with Sage and Moodle? Dan -- --- Dan Drake - KAIST Department of Mathematical Sciences --- http://mathsci.kaist.ac.kr/~drake signature.asc Description: Digital signature
[sage-support] Re: ideals of points
Hi Dave: I'm also just learning the basics of interacting with Singular through Sage. So probably someone else on the list can answer your question better than me. Still, i'll take a stab at it. Carrying on with your/Singular's notation, try sage: singular.setring(AC) sage: sol= singular('SOL').sage_structured_str_list() to save the output of SOL as a structured list of Sage strings. (I found this command by typing help(sage.interfaces.singular) and browsing the documentation page that popped up.) Now all you have to do is convert those Sage strings to Sage numbers with the eval() command. For instance, sage: a= eval(sol[1][1][1][1]) Does that work? Alex P.S. I'll be jumping for joy if/when the Singular people fix the bug that's breaking the potentially super-useful variety() command. On Feb 27, 5:54 am, davidp wrote: > Thanks for your response. I tried what you suggested and got the > error you anticipated. So it looks like I need to work within > Singular. The relevant page at the Singular site: > > http://www.singular.uni-kl.de/Manual/latest/sing_1168.htm#SEC1227 > > Using the notation from the site just referenced, I end up with a > ring, AC, in which the solutions are supposed to be stored in 'SOL'. > I can execute singular.setring(AC), but cannot subsequently access the > solutions. > > Thanks, > Dave > > On Feb 25, 1:49 pm, Alex Raichev wrote: > > > Hi Dave: > > > Once you have your zero-dimensional ideal K within a Sage ring, you > > could try the variety() command > > > K.variety(ring=QQbar) or > > K.variety(ring=CC) > > > to get its solutions as algebraic numbers or complex floating point > > numbers, respectively. See 'variety()' under > > >http://www.sagemath.org/doc/ref/module-sage.rings.polynomial.multi-po... > > > for more details. Problem is, variety() sometimes > > fails:http://sagetrac.org/sage_trac/ticket/4622. > > > Alex > > > On Feb 25, 7:27 am,davidp wrote: > > > > Hi, > > > > I have the following homogeneous Singular ideal defining a finite set > > > of points in projective space. I would like to get numerical > > > approximations for these points. > > > > sage: S.ring() > > > > // characteristic : 0 > > > // number of vars : 4 > > > // block 1 : ordering dp > > > // : names x_3 x_2 x_1 x_0 > > > // block 2 : ordering C > > > sage: S.ideal() > > > > x_1^3-x_3*x_2*x_0, > > > x_3*x_2*x_1-x_0^3, > > > x_2^3-x_3*x_1*x_0, > > > x_3^3-x_2*x_1*x_0, > > > x_2^2*x_1^2-x_3^2*x_0^2, > > > x_3^2*x_1^2-x_2^2*x_0^2, > > > x_3^2*x_2^2-x_1^2*x_0^2 > > > sage: type(S.ideal()) > > > > > > > One way to go might be to map to a new ring, setting x_0 = 1, then use > > > the nice Singular algorithm for finding the solutions: > > > >http://www.singular.uni-kl.de/Manual/3-0-4/sing_582.htm > > > > I couldn't figure out how to get the Singular "map" function to work > > > with Sage, so I just converted equations using string commands (saved > > > in "y" in the following code) then tried: > > > > sage: R = singular.ring(0,'(x_3,x_2,x_1)','lp') > > > sage: J = singular.ideal(y) > > > sage: J > > > > -x_3*x_2+x_1^3, > > > x_3*x_2*x_1-1, > > > -x_3*x_1+x_2^3, > > > x_3^3-x_2*x_1, > > > -x_3^2+x_2^2*x_1^2, > > > x_3^2*x_1^2-x_2^2, > > > x_3^2*x_2^2-x_1^2 > > > sage: K = J.groebner() > > > sage: M = K.solve(10,1) > > > > I'm not sure where to go from there. Of course, I might be taking the > > > wrong approach altogether. > > > > Any advice would be appreciated. > > > > Thanks, > > > Dave --~--~-~--~~~---~--~~ 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: Inverse laplace transform and Post integration formula - symbolic derivative?
On Feb 26, 3:01 pm, Maurizio wrote: Hi, > I'm sorry for not being accurate enough to use the correct term for > what I'm talking about. > > Luckily, you're smart enough to understand my needs, so it seems that > I should really go for this new symbolic package, so that we can get > something better for symbolic integrals and laplace/inverse laplace > transform. Do you think we will have great improvements from that? I > am quite frightened from the fact that such a stable and well > developed software like maxima still misses this features... Have you check with the Maxima folks? There is quite a bit of code in contrib that isn't particularly well integrated. IMHO this is a place where the Maxima folks could improve Maxima a lot by integrating the code into the main Maxima codebase, i.e. there is a solver in there that can handle a lot more systems than the default one and most people will not look for another solver once the one in default Maxima does not do what they want it to do. > how hard would be for SAGE to overcome those? Well, we have been told repeatedly that Sage cannot be done in general or then later on when it become clear that we seem to be doing a lot better than other open source systems (not in the symbolic manipulation area yet) and in some areas even than the commercial competition that this kind of development cannot be sustained and we will implode/self destruct if we do not do $FOO. We just ignore those people :) If one starts building basic functionality like pynac other people will build on top of it and various people have already started to do so. Last summer we had a project to enhance symbolics in Sage (i.e. not pynac) and that didn't work out too well for various reasons, but we are trying again and sooner or later we will get there. > Thank you for the very good work I want to echo RobertWB's point - thanks for using Sage and wanting to make it better. Scratching your own itch is what it is all about in Sage :) > Maurizio 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: Inverse laplace transform and Post integration formula - symbolic derivative?
I'm sorry for not being accurate enough to use the correct term for what I'm talking about. Luckily, you're smart enough to understand my needs, so it seems that I should really go for this new symbolic package, so that we can get something better for symbolic integrals and laplace/inverse laplace transform. Do you think we will have great improvements from that? I am quite frightened from the fact that such a stable and well developed software like maxima still misses this features... how hard would be for SAGE to overcome those? I also want to really stress my hope to further enhance the engineering capabilities of SAGE, and unit of measurements are certainly part of that. Do you think that reusing some code from ScientificPython can be affordable? Probably having the whole package would be too much? About the piecewise functions, I clearly see that those can be useful for reasons (like plotting or something like that), but currently they are not useful at all for things like symbolics and integration. Do any of you consider this an important lack of feature? Someway, I do, and I think that this was the same opinion of the other people previously talking about that (see the discussion linked in my previous posts). I have to say that this seems a quite complicated thing to deal with... Does this kind of feature require a high level mathematical knowledge isn't it? Thank you for the very good work Maurizio On 26 Feb, 23:48, David Joyner wrote: > On Thu, Feb 26, 2009 at 5:32 PM, Maurizio wrote: > > > To the best of my knowledge, the new symbolic (are you referring to > > pynac?) should just be considered as the core of symbolic, and the > > utilities functions should be continue to exist on top of SAGE (or any > > other package actually used, like maxima). > > > Unfortunately, it seems that the inverse laplace function from maxima > > is not the very best, see: > >http://www.math.utexas.edu/pipermail/maxima/2007/008424.html > >http://www.math.utexas.edu/pipermail/maxima/2006/36.html > > > Is there any sort of representation of piecewise functions in SAGE? > > What about delta function (heaviside) or unit step? These are basics > > for implementing inverse laplace in my opinion. > > The Heaviside function is not the same as the delta function (at least not > in the standard American usage of the term). In any case, piecewise > functions are > inhttp://hg.sagemath.org/sage-main/file/b0aa7ef45b3c/sage/functions/pie... > The delta functional is not implemented as part of the piecewise > package or with the laplace transform code. In general, there is currently > little or no framework in Sage for linear functionals on the vector space of > continuous functions on a given topological space. > > > > > Maxima already has delta() function, and signum() function (that can > > be good to represent the unit step, I don't know if it's already built- > > in maxima function), can we take advantage of that? > >http://www.math.utexas.edu/pipermail/maxima/2006/003249.html > > > There has been a short discussion about that here: > >http://groups.google.com/group/sage-devel/browse_frm/thread/7f33e7001... > > > I know I can seem pretty boring, but I really think that SAGE has a > > great potential, and I would like to enhance its engineering power! As > > it is right now, it still lacks something from that point of view. For > > example (I know, I always go off-topic), has a good units of > > measurement manager ever been included? Also about that you had a long > > discussion, but I don't know the results: > >http://groups.google.com/group/sage-devel/browse_frm/thread/8791448b7... > > > Please, forgive me again for being so annoying > > > Maurizio > > > On 26 Feb, 23:16, Robert Bradshaw > > wrote: > >> This is outside my area of expertise, so I don't have any immediate > >> pointers, but hopefully the new symbolics will have abilities to do > >> something like this. > > >> - Robert > > >> On Feb 26, 2009, at 1:31 PM, Maurizio wrote: > > >> > Well, that was exactly what I was going to do, but I have no idea how > >> > to implement something like a (symbolic) k-th order derivative, such > >> > that I could then do the limit. Moreover, the derivative seems to be > >> > something close to the core of something like a CAS, so I don't think > >> > I could be able to help for that. > > >> > That's why I was asking for help at least for this derivative part > >> > (and maybe also the limit is not so easy as well). > > >> > I will really try to be helpful, but I still need some support > > >> > Regards > > >> > Maurizio > > >> > On 26 Feb, 21:13, Robert Bradshaw > >> > wrote: > >> >> On Feb 26, 2009, at 2:49 AM, Maurizio wrote: > > >> >>> Hi all, > > >> >>> what do you think about the inverse_laplace() now present in SAGE? > > >> >>> I am not very satisfied, I am not able to derive the results for > >> >>> even > >> >>> simple functions. > > >> >> It is a simple wrapper around the maxima inverse laplace function. > >
[sage-support] Re: Inverse laplace transform and Post integration formula - symbolic derivative?
Maurizio wrote: > > I know I can seem pretty boring, but I really think that SAGE has a > great potential, and I would like to enhance its engineering power! As > it is right now, it still lacks something from that point of view. For > example (I know, I always go off-topic), has a good units of > measurement manager ever been included? Also about that you had a long > discussion, but I don't know the results: > http://groups.google.com/group/sage-devel/browse_frm/thread/8791448b7a303ce9/9dc4cc27e6d4eafb?lnk=gst&q=units#9dc4cc27e6d4eafb > I don't know of any progress: see http://trac.sagemath.org/sage_trac/ticket/3852 However, I'd love to have the functionality if someone did it! :) 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: Inverse laplace transform and Post integration formula - symbolic derivative?
On Thu, Feb 26, 2009 at 5:32 PM, Maurizio wrote: > > To the best of my knowledge, the new symbolic (are you referring to > pynac?) should just be considered as the core of symbolic, and the > utilities functions should be continue to exist on top of SAGE (or any > other package actually used, like maxima). > > Unfortunately, it seems that the inverse laplace function from maxima > is not the very best, see: > http://www.math.utexas.edu/pipermail/maxima/2007/008424.html > http://www.math.utexas.edu/pipermail/maxima/2006/36.html > > Is there any sort of representation of piecewise functions in SAGE? > What about delta function (heaviside) or unit step? These are basics > for implementing inverse laplace in my opinion. The Heaviside function is not the same as the delta function (at least not in the standard American usage of the term). In any case, piecewise functions are in http://hg.sagemath.org/sage-main/file/b0aa7ef45b3c/sage/functions/piecewise.py#l1 The delta functional is not implemented as part of the piecewise package or with the laplace transform code. In general, there is currently little or no framework in Sage for linear functionals on the vector space of continuous functions on a given topological space. > > Maxima already has delta() function, and signum() function (that can > be good to represent the unit step, I don't know if it's already built- > in maxima function), can we take advantage of that? > http://www.math.utexas.edu/pipermail/maxima/2006/003249.html > > There has been a short discussion about that here: > http://groups.google.com/group/sage-devel/browse_frm/thread/7f33e7001e480d47/4f46fff6a387becc?lnk=gst&q=maxima+delta#4f46fff6a387becc > > I know I can seem pretty boring, but I really think that SAGE has a > great potential, and I would like to enhance its engineering power! As > it is right now, it still lacks something from that point of view. For > example (I know, I always go off-topic), has a good units of > measurement manager ever been included? Also about that you had a long > discussion, but I don't know the results: > http://groups.google.com/group/sage-devel/browse_frm/thread/8791448b7a303ce9/9dc4cc27e6d4eafb?lnk=gst&q=units#9dc4cc27e6d4eafb > > Please, forgive me again for being so annoying > > Maurizio > > On 26 Feb, 23:16, Robert Bradshaw > wrote: >> This is outside my area of expertise, so I don't have any immediate >> pointers, but hopefully the new symbolics will have abilities to do >> something like this. >> >> - Robert >> >> On Feb 26, 2009, at 1:31 PM, Maurizio wrote: >> >> > Well, that was exactly what I was going to do, but I have no idea how >> > to implement something like a (symbolic) k-th order derivative, such >> > that I could then do the limit. Moreover, the derivative seems to be >> > something close to the core of something like a CAS, so I don't think >> > I could be able to help for that. >> >> > That's why I was asking for help at least for this derivative part >> > (and maybe also the limit is not so easy as well). >> >> > I will really try to be helpful, but I still need some support >> >> > Regards >> >> > Maurizio >> >> > On 26 Feb, 21:13, Robert Bradshaw >> > wrote: >> >> On Feb 26, 2009, at 2:49 AM, Maurizio wrote: >> >> >>> Hi all, >> >> >>> what do you think about the inverse_laplace() now present in SAGE? >> >> >>> I am not very satisfied, I am not able to derive the results for >> >>> even >> >>> simple functions. >> >> >> It is a simple wrapper around the maxima inverse laplace function. >> >> >>> What I'd like is to get numerical results, so I thought there should >> >>> have been a way to obtain them, but I didn't find. Can you help me? >> >> >>> In addition, I found on the net the Post's inversion Laplace formula >> >>> (http://en.wikipedia.org/wiki/Post%27s_inversion_formula). It has >> >>> been successfully implemented in Maple, here: >> >>>http://www.mapleprimes.com/blog/alec/numerical-inverse-laplace- >> >>> transform-0 >> >> >>> I wanted to try this out in SAGE, but the problem seems to be the >> >>> necessity of doing the k-th derivative of the function, where k is a >> >>> symbolic variable (that has to go to +Infinity then). I couldn't do >> >>> that, do you know if that's possible? >> >> >> Not that I am aware of at the moment, but if it would be great if >> >> someone (for instance you) could implement it and send us a patch. >> >> >> - Robert > > > --~--~-~--~~~---~--~~ 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: Inverse laplace transform and Post integration formula - symbolic derivative?
On Feb 26, 2009, at 2:32 PM, Maurizio wrote: > To the best of my knowledge, the new symbolic (are you referring to > pynac?) should just be considered as the core of symbolic, and the > utilities functions should be continue to exist on top of SAGE (or any > other package actually used, like maxima). > > Unfortunately, it seems that the inverse laplace function from maxima > is not the very best, see: > http://www.math.utexas.edu/pipermail/maxima/2007/008424.html > http://www.math.utexas.edu/pipermail/maxima/2006/36.html > > Is there any sort of representation of piecewise functions in SAGE? > What about delta function (heaviside) or unit step? These are basics > for implementing inverse laplace in my opinion. > > Maxima already has delta() function, and signum() function (that can > be good to represent the unit step, I don't know if it's already > built- > in maxima function), can we take advantage of that? > http://www.math.utexas.edu/pipermail/maxima/2006/003249.html > > There has been a short discussion about that here: > http://groups.google.com/group/sage-devel/browse_frm/thread/ > 7f33e7001e480d47/4f46fff6a387becc?lnk=gst&q=maxima > +delta#4f46fff6a387becc This looks like a good summary of the state of things right now. One advantage of having Pynac will be we can adjust the core/add what we need for the higher-level functionality. > I know I can seem pretty boring, but I really think that SAGE has a > great potential, and I would like to enhance its engineering power! As > it is right now, it still lacks something from that point of view. For > example (I know, I always go off-topic), has a good units of > measurement manager ever been included? Also about that you had a long > discussion, but I don't know the results: > http://groups.google.com/group/sage-devel/browse_frm/thread/ > 8791448b7a303ce9/9dc4cc27e6d4eafb?lnk=gst&q=units#9dc4cc27e6d4eafb > > Please, forgive me again for being so annoying No, it's people like you that push Sage to be better. RIght now the strengths of Sage are mostly in Number Theory and Combinatorics. There's lots of room for improvement in calculus and making things more engineering friendly, which is certainly a goal of ours. - Robert --~--~-~--~~~---~--~~ 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: Inverse laplace transform and Post integration formula - symbolic derivative?
Robert, do you consider these issues relevant? If so, do you consider worthwhile to forward this discussion to the devel group? I'm sorry, but I'm always reluctant about choosing where to post my (too numerous) questions. Regards Maurizio On 26 Feb, 23:32, Maurizio wrote: > To the best of my knowledge, the new symbolic (are you referring to > pynac?) should just be considered as the core of symbolic, and the > utilities functions should be continue to exist on top of SAGE (or any > other package actually used, like maxima). > > Unfortunately, it seems that the inverse laplace function from maxima > is not the very best, > see:http://www.math.utexas.edu/pipermail/maxima/2007/008424.htmlhttp://www.math.utexas.edu/pipermail/maxima/2006/36.html > > Is there any sort of representation of piecewise functions in SAGE? > What about delta function (heaviside) or unit step? These are basics > for implementing inverse laplace in my opinion. > > Maxima already has delta() function, and signum() function (that can > be good to represent the unit step, I don't know if it's already built- > in maxima function), can we take advantage of > that?http://www.math.utexas.edu/pipermail/maxima/2006/003249.html > > There has been a short discussion about that > here:http://groups.google.com/group/sage-devel/browse_frm/thread/7f33e7001... > > I know I can seem pretty boring, but I really think that SAGE has a > great potential, and I would like to enhance its engineering power! As > it is right now, it still lacks something from that point of view. For > example (I know, I always go off-topic), has a good units of > measurement manager ever been included? Also about that you had a long > discussion, but I don't know the > results:http://groups.google.com/group/sage-devel/browse_frm/thread/8791448b7... > > Please, forgive me again for being so annoying > > Maurizio > > On 26 Feb, 23:16, Robert Bradshaw > wrote: > > > This is outside my area of expertise, so I don't have any immediate > > pointers, but hopefully the new symbolics will have abilities to do > > something like this. > > > - Robert > > > On Feb 26, 2009, at 1:31 PM, Maurizio wrote: > > > > Well, that was exactly what I was going to do, but I have no idea how > > > to implement something like a (symbolic) k-th order derivative, such > > > that I could then do the limit. Moreover, the derivative seems to be > > > something close to the core of something like a CAS, so I don't think > > > I could be able to help for that. > > > > That's why I was asking for help at least for this derivative part > > > (and maybe also the limit is not so easy as well). > > > > I will really try to be helpful, but I still need some support > > > > Regards > > > > Maurizio > > > > On 26 Feb, 21:13, Robert Bradshaw > > > wrote: > > >> On Feb 26, 2009, at 2:49 AM, Maurizio wrote: > > > >>> Hi all, > > > >>> what do you think about the inverse_laplace() now present in SAGE? > > > >>> I am not very satisfied, I am not able to derive the results for > > >>> even > > >>> simple functions. > > > >> It is a simple wrapper around the maxima inverse laplace function. > > > >>> What I'd like is to get numerical results, so I thought there should > > >>> have been a way to obtain them, but I didn't find. Can you help me? > > > >>> In addition, I found on the net the Post's inversion Laplace formula > > >>> (http://en.wikipedia.org/wiki/Post%27s_inversion_formula). It has > > >>> been successfully implemented in Maple, here: > > >>>http://www.mapleprimes.com/blog/alec/numerical-inverse-laplace- > > >>> transform-0 > > > >>> I wanted to try this out in SAGE, but the problem seems to be the > > >>> necessity of doing the k-th derivative of the function, where k is a > > >>> symbolic variable (that has to go to +Infinity then). I couldn't do > > >>> that, do you know if that's possible? > > > >> Not that I am aware of at the moment, but if it would be great if > > >> someone (for instance you) could implement it and send us a patch. > > > >> - Robert --~--~-~--~~~---~--~~ 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: Inverse laplace transform and Post integration formula - symbolic derivative?
To the best of my knowledge, the new symbolic (are you referring to pynac?) should just be considered as the core of symbolic, and the utilities functions should be continue to exist on top of SAGE (or any other package actually used, like maxima). Unfortunately, it seems that the inverse laplace function from maxima is not the very best, see: http://www.math.utexas.edu/pipermail/maxima/2007/008424.html http://www.math.utexas.edu/pipermail/maxima/2006/36.html Is there any sort of representation of piecewise functions in SAGE? What about delta function (heaviside) or unit step? These are basics for implementing inverse laplace in my opinion. Maxima already has delta() function, and signum() function (that can be good to represent the unit step, I don't know if it's already built- in maxima function), can we take advantage of that? http://www.math.utexas.edu/pipermail/maxima/2006/003249.html There has been a short discussion about that here: http://groups.google.com/group/sage-devel/browse_frm/thread/7f33e7001e480d47/4f46fff6a387becc?lnk=gst&q=maxima+delta#4f46fff6a387becc I know I can seem pretty boring, but I really think that SAGE has a great potential, and I would like to enhance its engineering power! As it is right now, it still lacks something from that point of view. For example (I know, I always go off-topic), has a good units of measurement manager ever been included? Also about that you had a long discussion, but I don't know the results: http://groups.google.com/group/sage-devel/browse_frm/thread/8791448b7a303ce9/9dc4cc27e6d4eafb?lnk=gst&q=units#9dc4cc27e6d4eafb Please, forgive me again for being so annoying Maurizio On 26 Feb, 23:16, Robert Bradshaw wrote: > This is outside my area of expertise, so I don't have any immediate > pointers, but hopefully the new symbolics will have abilities to do > something like this. > > - Robert > > On Feb 26, 2009, at 1:31 PM, Maurizio wrote: > > > Well, that was exactly what I was going to do, but I have no idea how > > to implement something like a (symbolic) k-th order derivative, such > > that I could then do the limit. Moreover, the derivative seems to be > > something close to the core of something like a CAS, so I don't think > > I could be able to help for that. > > > That's why I was asking for help at least for this derivative part > > (and maybe also the limit is not so easy as well). > > > I will really try to be helpful, but I still need some support > > > Regards > > > Maurizio > > > On 26 Feb, 21:13, Robert Bradshaw > > wrote: > >> On Feb 26, 2009, at 2:49 AM, Maurizio wrote: > > >>> Hi all, > > >>> what do you think about the inverse_laplace() now present in SAGE? > > >>> I am not very satisfied, I am not able to derive the results for > >>> even > >>> simple functions. > > >> It is a simple wrapper around the maxima inverse laplace function. > > >>> What I'd like is to get numerical results, so I thought there should > >>> have been a way to obtain them, but I didn't find. Can you help me? > > >>> In addition, I found on the net the Post's inversion Laplace formula > >>> (http://en.wikipedia.org/wiki/Post%27s_inversion_formula). It has > >>> been successfully implemented in Maple, here: > >>>http://www.mapleprimes.com/blog/alec/numerical-inverse-laplace- > >>> transform-0 > > >>> I wanted to try this out in SAGE, but the problem seems to be the > >>> necessity of doing the k-th derivative of the function, where k is a > >>> symbolic variable (that has to go to +Infinity then). I couldn't do > >>> that, do you know if that's possible? > > >> Not that I am aware of at the moment, but if it would be great if > >> someone (for instance you) could implement it and send us a patch. > > >> - Robert --~--~-~--~~~---~--~~ 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: Inverse laplace transform and Post integration formula - symbolic derivative?
This is outside my area of expertise, so I don't have any immediate pointers, but hopefully the new symbolics will have abilities to do something like this. - Robert On Feb 26, 2009, at 1:31 PM, Maurizio wrote: > Well, that was exactly what I was going to do, but I have no idea how > to implement something like a (symbolic) k-th order derivative, such > that I could then do the limit. Moreover, the derivative seems to be > something close to the core of something like a CAS, so I don't think > I could be able to help for that. > > That's why I was asking for help at least for this derivative part > (and maybe also the limit is not so easy as well). > > I will really try to be helpful, but I still need some support > > Regards > > Maurizio > > On 26 Feb, 21:13, Robert Bradshaw > wrote: >> On Feb 26, 2009, at 2:49 AM, Maurizio wrote: >> >> >> >>> Hi all, >> >>> what do you think about the inverse_laplace() now present in SAGE? >> >>> I am not very satisfied, I am not able to derive the results for >>> even >>> simple functions. >> >> It is a simple wrapper around the maxima inverse laplace function. >> >>> What I'd like is to get numerical results, so I thought there should >>> have been a way to obtain them, but I didn't find. Can you help me? >> >>> In addition, I found on the net the Post's inversion Laplace formula >>> (http://en.wikipedia.org/wiki/Post%27s_inversion_formula). It has >>> been successfully implemented in Maple, here: >>> http://www.mapleprimes.com/blog/alec/numerical-inverse-laplace- >>> transform-0 >> >>> I wanted to try this out in SAGE, but the problem seems to be the >>> necessity of doing the k-th derivative of the function, where k is a >>> symbolic variable (that has to go to +Infinity then). I couldn't do >>> that, do you know if that's possible? >> >> Not that I am aware of at the moment, but if it would be great if >> someone (for instance you) could implement it and send us a patch. >> >> - Robert > > --~--~-~--~~~---~--~~ 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: Inverse laplace transform and Post integration formula - symbolic derivative?
Well, that was exactly what I was going to do, but I have no idea how to implement something like a (symbolic) k-th order derivative, such that I could then do the limit. Moreover, the derivative seems to be something close to the core of something like a CAS, so I don't think I could be able to help for that. That's why I was asking for help at least for this derivative part (and maybe also the limit is not so easy as well). I will really try to be helpful, but I still need some support Regards Maurizio On 26 Feb, 21:13, Robert Bradshaw wrote: > On Feb 26, 2009, at 2:49 AM, Maurizio wrote: > > > > > Hi all, > > > what do you think about the inverse_laplace() now present in SAGE? > > > I am not very satisfied, I am not able to derive the results for even > > simple functions. > > It is a simple wrapper around the maxima inverse laplace function. > > > What I'd like is to get numerical results, so I thought there should > > have been a way to obtain them, but I didn't find. Can you help me? > > > In addition, I found on the net the Post's inversion Laplace formula > > (http://en.wikipedia.org/wiki/Post%27s_inversion_formula). It has > > been successfully implemented in Maple, here: > >http://www.mapleprimes.com/blog/alec/numerical-inverse-laplace- > > transform-0 > > > I wanted to try this out in SAGE, but the problem seems to be the > > necessity of doing the k-th derivative of the function, where k is a > > symbolic variable (that has to go to +Infinity then). I couldn't do > > that, do you know if that's possible? > > Not that I am aware of at the moment, but if it would be great if > someone (for instance you) could implement it and send us a patch. > > - Robert --~--~-~--~~~---~--~~ 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: Migrating notebooks etc. in VM
On Feb 26, 3:28 pm, kcrisman wrote: > > *All* information -- worksheets, logins, etc. -- is in > > /home/notebook/sage_notebook. To migrate the entire notebook to a new > > vmware image all you have to do is copy the sage_notebook directory > > over. That's what your sysadmin evidently tried maybe to do, and if > > he/she were to do it then it would work fine. Commands to do this: > > > cd /home/notebook/ > > tar jcvf sage_notebook.tar.bz2 sage_notebook > > scp sage_notebook.tar.bz2 [somewhere] > > > login to new machine > > > cd /home/notebook > > rm -rf sage_notebook > > scp [somewhere]/sage_notebook.tar.bz2 > > tar jxvf sage_notebook.tar.bz2 > > We just tried that with upgrading (from 3.0.6) to 3.2.3, the most > recent image available. Apparently it did not work; I will ask for > details and report back. The only additional thing sysadmin did which > is not above was to remove the (7 GB!!!) of snapshots which had been > generated, but presumably that wouldn't cause a problem, would it? > sysadmin: "The instructions you included for copying the notebooks is nearly exactly what I did except I didn't use bzip2 for compression AND I excluded the snapshot files. Even after restarting the system, however, I was not able to log in unless I created a new notebook. I suppose I could try copying the snapshots, but there is a huge number of them (perhaps several gigabytes worth)..." Here are the instructions (apparently largely from Sage website or wiki) followed: Before starting machine - use "Edit virtual machine settings" button to change (Hardware Tab) + Memory -> 1024MB + Ethernet 1 -> Bridged (Options Tab) + Startup/Shutdown Start guest OS - login using "manage" account and then type "sudo su -" to become root. - use "tzconfig" program to set time zone to America/New_York. - use "ntpdate ntp...edu" to set system clock. - Create sage1 account with "adduser sage1"; enter password and "Sage User" for full name. - Create a RSA SSH key for root: Use "ssh-keygen" program and leave passphrase empty. - Become sage1 user and create .ssh directory: "su - sage1; mkdir .ssh; exit" - Copy /root/.ssh/id_rsa.pub to /home/sage1/.ssh/authorized_keys then make sure this file is owned by sage1.sage1 and has permissions 0600. - Important: from root account type "ssh sa...@localhost" and answer yes to add localhost entry to root's known_hosts file. No password should be required. Logout to return to the root account. - Backup /etc/network/interfaces and modify it to use static IP address , netmask 255.255.0.0, gateway , and broadcast . - Backup /usr/local/bin/notebook and modify it so that the string assigned to "cmd" has the following adjustments: (1) change require_logins to True, (2) add the following four fields: "accounts=True, server_pool=['sa...@localhost'], ulimit='-v 50', timeout=3600" - set password for "manage" to something. - set password for "login" to something other than "sage". - Backup /etc/rc.local and modify it to add the lines "ntpdate ntp...edu" and "su - notebook" just before the exit 0 line. - restart machine Could following these instructions to set up the server have caused the server not to recognize the migrated notebook directory? - 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: Migrating notebooks etc. in VM
> > *All* information -- worksheets, logins, etc. -- is in > /home/notebook/sage_notebook. To migrate the entire notebook to a new > vmware image all you have to do is copy the sage_notebook directory > over. That's what your sysadmin evidently tried maybe to do, and if > he/she were to do it then it would work fine. Commands to do this: > > cd /home/notebook/ > tar jcvf sage_notebook.tar.bz2 sage_notebook > scp sage_notebook.tar.bz2 [somewhere] > > login to new machine > > cd /home/notebook > rm -rf sage_notebook > scp [somewhere]/sage_notebook.tar.bz2 > tar jxvf sage_notebook.tar.bz2 We just tried that with upgrading (from 3.0.6) to 3.2.3, the most recent image available. Apparently it did not work; I will ask for details and report back. The only additional thing sysadmin did which is not above was to remove the (7 GB!!!) of snapshots which had been generated, but presumably that wouldn't cause a problem, would it? - 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: Inverse laplace transform and Post integration formula - symbolic derivative?
On Feb 26, 2009, at 2:49 AM, Maurizio wrote: > > Hi all, > > what do you think about the inverse_laplace() now present in SAGE? > > I am not very satisfied, I am not able to derive the results for even > simple functions. It is a simple wrapper around the maxima inverse laplace function. > What I'd like is to get numerical results, so I thought there should > have been a way to obtain them, but I didn't find. Can you help me? > > In addition, I found on the net the Post's inversion Laplace formula > ( http://en.wikipedia.org/wiki/Post%27s_inversion_formula ). It has > been successfully implemented in Maple, here: > http://www.mapleprimes.com/blog/alec/numerical-inverse-laplace- > transform-0 > > I wanted to try this out in SAGE, but the problem seems to be the > necessity of doing the k-th derivative of the function, where k is a > symbolic variable (that has to go to +Infinity then). I couldn't do > that, do you know if that's possible? Not that I am aware of at the moment, but if it would be great if someone (for instance you) could implement it and send us a patch. - Robert --~--~-~--~~~---~--~~ 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] XML-RPC
I new with SAGE and I trying to use it with moodle. I install the Algebra´s module for moodle but i need to start the SAGE XML-RPC server. I read the instructiosn in the SAGE´s install file but I just found how to start the notebook server but didn´t find anything about XML-RPC server. ¿Could anyone help me to solve my problem? Thaks in advance. --~--~-~--~~~---~--~~ 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: ideals of points
Thanks for your response. I tried what you suggested and got the error you anticipated. So it looks like I need to work within Singular. The relevant page at the Singular site: http://www.singular.uni-kl.de/Manual/latest/sing_1168.htm#SEC1227 Using the notation from the site just referenced, I end up with a ring, AC, in which the solutions are supposed to be stored in 'SOL'. I can execute singular.setring(AC), but cannot subsequently access the solutions. Thanks, Dave On Feb 25, 1:49 pm, Alex Raichev wrote: > Hi Dave: > > Once you have your zero-dimensional ideal K within a Sage ring, you > could try the variety() command > > K.variety(ring=QQbar) or > K.variety(ring=CC) > > to get its solutions as algebraic numbers or complex floating point > numbers, respectively. See 'variety()' under > > http://www.sagemath.org/doc/ref/module-sage.rings.polynomial.multi-po... > > for more details. Problem is, variety() sometimes > fails:http://sagetrac.org/sage_trac/ticket/4622. > > Alex > > On Feb 25, 7:27 am,davidp wrote: > > > Hi, > > > I have the following homogeneous Singular ideal defining a finite set > > of points in projective space. I would like to get numerical > > approximations for these points. > > > sage: S.ring() > > > // characteristic : 0 > > // number of vars : 4 > > // block 1 : ordering dp > > // : names x_3 x_2 x_1 x_0 > > // block 2 : ordering C > > sage: S.ideal() > > > x_1^3-x_3*x_2*x_0, > > x_3*x_2*x_1-x_0^3, > > x_2^3-x_3*x_1*x_0, > > x_3^3-x_2*x_1*x_0, > > x_2^2*x_1^2-x_3^2*x_0^2, > > x_3^2*x_1^2-x_2^2*x_0^2, > > x_3^2*x_2^2-x_1^2*x_0^2 > > sage: type(S.ideal()) > > > > > One way to go might be to map to a new ring, setting x_0 = 1, then use > > the nice Singular algorithm for finding the solutions: > > >http://www.singular.uni-kl.de/Manual/3-0-4/sing_582.htm > > > I couldn't figure out how to get the Singular "map" function to work > > with Sage, so I just converted equations using string commands (saved > > in "y" in the following code) then tried: > > > sage: R = singular.ring(0,'(x_3,x_2,x_1)','lp') > > sage: J = singular.ideal(y) > > sage: J > > > -x_3*x_2+x_1^3, > > x_3*x_2*x_1-1, > > -x_3*x_1+x_2^3, > > x_3^3-x_2*x_1, > > -x_3^2+x_2^2*x_1^2, > > x_3^2*x_1^2-x_2^2, > > x_3^2*x_2^2-x_1^2 > > sage: K = J.groebner() > > sage: M = K.solve(10,1) > > > I'm not sure where to go from there. Of course, I might be taking the > > wrong approach altogether. > > > Any advice would be appreciated. > > > Thanks, > > Dave --~--~-~--~~~---~--~~ 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 binaries doesn't work on a Debian Lenny 64bit server with Intel Xeon Dual core and Xen hypervisor
Some more update: "-p" is at fault here, but that startup option isn't documented in the GAP help, so I have started looking at the source code what it is exactly supposed to do. Either way, if you look at interfaces/gap.py in def _execute_line(self, line, wait_for_prompt=True, expect_eof=False): you will see that the info created by "-p" is used and given the interface to GAP was written by Steve Linton (who is one of the current GAP maintainers) I am sure that it is done so for a good reason. So, what is the fix then? Likely an adjustment to the pexepct interface for GAP, but so far I have little lead what to do here. Other people will hopefully have a shorter learning cure for that code. 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 binaries doesn't work on a Debian Lenny 64bit server with Intel Xeon Dual core and Xen hypervisor
Thanks Johan, I poked around a little more and this is likely a pexpect problem. I checked Sage 3.2.3 with GAP 4.4.10 and it does [mabsh...@eno sage-3.2.3-eno]$ gap -r -b -p -T -o G @p...@!84034+@"80...@#33295+@$90...@%53361+@&675...@! 45214+@"31...@#74316+@$79...@%93601+@&675...@!22041+@"26...@#45424+@ $61...@%2928+@&675...@!0958+@"02...@#28503+@$18...@%0686+@&675...@! 0267+@"8...@#88612+@$39...@%9375+@&675...@!45301+@"1...@#47903+@$4012+@ %7844+@&675...@!3448+@"4...@#82591+@$27...@%4723+@&675...@! 7032+@"5...@#2735+@$3...@%1582+@&675...@ngap4, Version: 4.4.10 of 02- Oct-2007, x86_64-unknown-linux-gnu-...@j@ngap> @i This is in contrast to GAP 4.4.12 on an Itanium: mabsh...@iras:~/build-3.3/sage-3.3-iras> gap -r -b -p -T -o G @p...@!52034+@"60...@#77295+@$21...@%63361+@&675...@! 69724+@"57...@#23736+@$19...@%90601+@&675...@!47921+@"95...@#92504+@ $82...@%2248+@&675...@!5588+@"34...@#75313+@$12...@%8696+@&675...@! 7248+@"32...@#21852+@$65...@%4375+@&675...@!6789+@"3...@#06762+@$8281+@ %1354+@&675...@!6348+@"11...@#99312+@$28...@%2133+@&675...@ngap4, Version: 4.4.12 of 17-Dec-2008, ia64-unknown-linux-gnu-...@j@! 8212+@"1...@#3254+@$3...@%1162+@&675...@ngap> @i GAP 4.4.12 on the same machine as GAP 4.4.10 above: [mabsh...@eno sage-3.2.3-eno]$ gap -r -b -p -T -o G @p...@!84034+@"80...@#33295+@$90...@%53361+@&675...@! 45214+@"31...@#74316+@$79...@%93601+@&675...@!22041+@"26...@#45424+@ $61...@%2928+@&675...@!0958+@"02...@#28503+@$18...@%0686+@&675...@! 0267+@"8...@#88612+@$39...@%9375+@&675...@!45301+@"1...@#47903+@$4012+@ %7844+@&675...@!3448+@"4...@#82591+@$27...@%4723+@&675...@! 7032+@"5...@#2735+@$3...@%1582+@&675...@ngap4, Version: 4.4.10 of 02- Oct-2007, x86_64-unknown-linux-gnu-...@j@ngap> @i I am not sure what all that "@" junk is, but I will try to figure it out :) 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 binaries doesn't work on a Debian Lenny 64bit server with Intel Xeon Dual core and Xen hypervisor
On Thu, Feb 26, 2009 at 2:55 PM, mabshoff wrote: > > > > On Feb 26, 5:46 am, Johan Oudinet wrote: >> On Tue, Feb 17, 2009 at 9:34 PM, William Stein wrote: > > Hi Johan, > > > >> I've tried to build from sources sage-3.3 but I still have an >> unexpected error when running sage :-( >> >> The log is available here:http://www.lri.fr/~oudinet/pub/debiansage2.log >> >> I add that when I manually try to execute the command gap with the >> same options, I get : >> $ gap -r -b -p -T -o G /usr/local/sage-3.3/data//extcode/gap/sage.g >> @p...@!19924+@"20...@#91395+@$71...@%24361+@&675...@!24824+@"77...@#33736+@$ >> 59...@%21601+@&675...@!48921+@"95...@#09404+@$32...@%5248+@&675...@!2688+@" >> 63...@#95313+@$02...@%0796+@&675...@!3448+@"52...@#54952+@$86...@%2475+@&67 >> 5...@!7689+@"9...@#89662+@$92...@%2454+@&675...@!3448+@"11...@#75312+@$7761 >> +...@%4233+@&675...@ngap4, >> Version: 4.4.12 of 17-Dec-2008, >> x86_64-unknown-linux-gnu-...@j@!0012+@"3...@#0944+@$1...@%6262+@&675...@nga >> p> >> @i > > > Ok, that does not look pretty. > > Do you have a gap.rc file on your box by any chance, i.e. do you run > GAP with a custom config file? I don't think so. Actually, I don't know what GAP is (so I never used it) and both "locate gap.rc" and find ~ -name 'gap.rc' don't find anything. > >> For the record, I've followed the installation guide found >> here:http://www.sagemath.org/doc/inst/node8.html > > Ok. > > We have seen this or a seemingly similar problem on a build machine we > have access to, so we are investigating. I have made this a critical > issue against 3.4, i.e. > > http://trac.sagemath.org/sage_trac/ticket/5385 > > Three questions: > > * Does "sage -gap" give you a working GAP without all that odd > output? "sage -gap" starts without complain, and I can type ?help for example... but I don't know what do you mean by a "working GAP" > * What is LOCALE set to? I think it is unset: $echo $LOCALE $ test -z $LOCALE; echo $? 0 > * Could you compress install.log and post a link to it so that I can > download it and take a look? Maybe something common or odd will pop > up. Here it is: http://www.lri.fr/~oudinet/pub/install.log.bz2 -- Johan --~--~-~--~~~---~--~~ 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 binaries doesn't work on a Debian Lenny 64bit server with Intel Xeon Dual core and Xen hypervisor
On Feb 26, 5:46 am, Johan Oudinet wrote: > On Tue, Feb 17, 2009 at 9:34 PM, William Stein wrote: Hi Johan, > I've tried to build from sources sage-3.3 but I still have an > unexpected error when running sage :-( > > The log is available here:http://www.lri.fr/~oudinet/pub/debiansage2.log > > I add that when I manually try to execute the command gap with the > same options, I get : > $ gap -r -b -p -T -o G /usr/local/sage-3.3/data//extcode/gap/sage.g > @p...@!19924+@"20...@#91395+@$71...@%24361+@&675...@!24824+@"77...@#33736+@$ > 59...@%21601+@&675...@!48921+@"95...@#09404+@$32...@%5248+@&675...@!2688+@" > 63...@#95313+@$02...@%0796+@&675...@!3448+@"52...@#54952+@$86...@%2475+@&67 > 5...@!7689+@"9...@#89662+@$92...@%2454+@&675...@!3448+@"11...@#75312+@$7761 > +...@%4233+@&675...@ngap4, > Version: 4.4.12 of 17-Dec-2008, > x86_64-unknown-linux-gnu-...@j@!0012+@"3...@#0944+@$1...@%6262+@&675...@nga p> > @i Ok, that does not look pretty. Do you have a gap.rc file on your box by any chance, i.e. do you run GAP with a custom config file? > For the record, I've followed the installation guide found > here:http://www.sagemath.org/doc/inst/node8.html Ok. We have seen this or a seemingly similar problem on a build machine we have access to, so we are investigating. I have made this a critical issue against 3.4, i.e. http://trac.sagemath.org/sage_trac/ticket/5385 Three questions: * Does "sage -gap" give you a working GAP without all that odd output? * What is LOCALE set to? * Could you compress install.log and post a link to it so that I can download it and take a look? Maybe something common or odd will pop up. Cheers, Michael > -- > Johan 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 binaries doesn't work on a Debian Lenny 64bit server with Intel Xeon Dual core and Xen hypervisor
On Tue, Feb 17, 2009 at 9:34 PM, William Stein wrote: > > On Tue, Feb 17, 2009 at 9:52 AM, mabshoff > wrote: >> >> >> >> On Feb 17, 9:41 am, Johan Oudinet wrote: >>> Hi, >> >> Hi Johan, >> >>> I've just download the Debian-64bit-intel-xeon version of sage, then >>> extract, run ./sage and get an unexpected error: >>> >>> $ ./sage >>> -- >>> | Sage Version 3.2.3, Release Date: 2009-01-05 | >>> | Type notebook() for the GUI, and license() for information. | >>> -- >>> The SAGE install tree may have moved. >>> Regenerating Python.pyo and .pyc files that hardcode the install PATH >>> (please wait at >>> most a few minutes)... >>> Do not interrupt this. >>> ERROR: An unexpected error occurred while tokenizing input >>> The following traceback may be corrupted or invalid >>> The error message is: ('EOF in multi-line statement', (1087, 0)) >>> >>> --- >>> RuntimeError Traceback (most recent call >>> last) >>> >>> >>> >>> RuntimeError: Unable to start gap because the command 'gap -b -p -T -o >>> G /users/asspro/oudinet/projects/sage-3.2.3-debian-64bit- >>> intel_xeon-x86_64-Linux/data//extcode/gap/sage.g' failed. >>> >>> Error importing ipy_profile_sage - perhaps you should run %upgrade? >>> WARNING: Loading of ipy_profile_sage failed. >>> >>> The entire log is available >>> here:http://www.lri.fr/~oudinet/pub/debiansage.log >>> >>> Since I have no idea how to solve this problem, I hope someone here >>> has a solution? >> >> No surprise here since that Sage release was build for the last stable >> release. In the future Sage 3.3 binaries should be properly marked >> since otherwise people end up getting the wrong binaries. >> >> So far no one has set up the needed build machines for lenny so that >> we will have binaries for it, but I expect this to happen in the not >> too distant future since most Debian people ought to upgrade to lenny >> soon. >> >> For now I recommend building from sources. > > And for the record I'm *currently* installing 32 and 64-bit Debian images. I've tried to build from sources sage-3.3 but I still have an unexpected error when running sage :-( The log is available here: http://www.lri.fr/~oudinet/pub/debiansage2.log I add that when I manually try to execute the command gap with the same options, I get : $ gap -r -b -p -T -o G /usr/local/sage-3.3/data//extcode/gap/sage.g @p...@!19924+@"20...@#91395+@$71...@%24361+@&675...@!24824+@"77...@#33736+@$59...@%21601+@&675...@!48921+@"95...@#09404+@$32...@%5248+@&675...@!2688+@"63...@#95313+@$02...@%0796+@&675...@!3448+@"52...@#54952+@$86...@%2475+@&675...@!7689+@"9...@#89662+@$92...@%2454+@&675...@!3448+@"11...@#75312+@$77...@%4233+@&675...@ngap4, Version: 4.4.12 of 17-Dec-2008, x86_64-unknown-linux-gnu-...@j@!0012+@"3...@#0944+@$1...@%6262+@&675...@ngap> @i For the record, I've followed the installation guide found here: http://www.sagemath.org/doc/inst/node8.html -- Johan --~--~-~--~~~---~--~~ 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: 3D animation
Stan Schymanski wrote: > Not sure if this helps, but one way of saving images in a batch process > is to create a unique name within the loop that creates the plots and > save the image using this name. For example, if the loop increments the > integer i, and the images are created using matplotlib (pylab) include > the following in the loop: > > name = 'image'+str(i)+'.png' > pylab.savefig(name) > for i in range(24): dosomething_with_the_picture() pylab.savefig('image%2i.png'%i) will save image00.png, image01.png, ..., image23.png Jaap --~--~-~--~~~---~--~~ 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] Inverse laplace transform and Post integration formula - symbolic derivative?
Hi all, what do you think about the inverse_laplace() now present in SAGE? I am not very satisfied, I am not able to derive the results for even simple functions. What I'd like is to get numerical results, so I thought there should have been a way to obtain them, but I didn't find. Can you help me? In addition, I found on the net the Post's inversion Laplace formula ( http://en.wikipedia.org/wiki/Post%27s_inversion_formula ). It has been successfully implemented in Maple, here: http://www.mapleprimes.com/blog/alec/numerical-inverse-laplace-transform-0 I wanted to try this out in SAGE, but the problem seems to be the necessity of doing the k-th derivative of the function, where k is a symbolic variable (that has to go to +Infinity then). I couldn't do that, do you know if that's possible? Thank you very much Regards Maurizio Reference: http://www.rose-hulman.edu/~bryan/invlap.pdf --~--~-~--~~~---~--~~ 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: 3D animation
Not sure if this helps, but one way of saving images in a batch process is to create a unique name within the loop that creates the plots and save the image using this name. For example, if the loop increments the integer i, and the images are created using matplotlib (pylab) include the following in the loop: name = 'image'+str(i)+'.png' pylab.savefig(name) This would save the images under the names image1.png, image2.png etc. It should work in a similar way with any other plots that can be saved as images. If you want to do that, you would not need any animation functionality, just create a plot in every time step and save the image, then use any external animation software that makes a movie out of a bunch of images. Stan Crab wrote: > Hum... I talked to my colleague again today and convinced him to give > SAGE a try and to produce the animation using ffmpeg. > > Now the question is: in sage is it possible to save the sequences of > images as a batch process (verses saving them one-by-one by hand)? > > Also he wonders if it possible to save the "3d data" of the graph in > some format without using Jmol. > > Thanks in advance > > On Feb 24, 5:08 pm, Jason Grout wrote: > >> pong wrote: >> >>> A colleague of mine would like to produce some 3D animation (an >>> illustration involving cones and spheres). He looked into SAGE and >>> said it will be difficult compare to Mathematica and so he decided to >>> use the latter. >>> >>> By reading this group, I understand one can render the images via >>> tachyon then produce the animation by imagemagick. I just wonder if >>> there is any update (easier way) to do this. >>> >> Jmol (our 3d graphic viewer) has some very nice animation capabilities. >> We haven't tapped those in Sage yet, though. There are lots of demos >> up online. A quick Google search yields these, for example: >> >> http://jmol.sourceforge.net/demo/animation/ >> >> http://www3.interscience.wiley.com:8100/legacy/college/boyer/04716617... >> >> http://www.umass.edu/molvis/martz/lectures/labmolgen/mj2.htm >> >> http://www.chem.ucalgary.ca/courses/351/Carey5th/Ch03/ch3-06.html >> >> Basically, jmol has a scripting language that lets you animate things in >> the image. >> >> It would be cool if Sage could automatically write such an animation >> script from some sort of Sage plot command... >> >> Jason >> > > > -- Stan Schymanski Scientist Max Planck Institute for Biogeochemistry Postfach 10 01 64 D-07701 Jena Phone: +49.3641.576264 Fax: +49.3641.577274 WWW: http://www.bgc-jena.mpg.de/~sschym Biospheric Theory and Modelling Group http://www.bgc-jena.mpg.de/bgc-theory/ _ --~--~-~--~~~---~--~~ 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] [numerical optimization] Poll "what do you miss in OpenOpt framework"
Hi all, I created a poll "what do you miss in OpenOpt framework", could you take participation? http://www.doodle.com/participation.html?pollId=a78g5mk9sf7dnrbe Let me remember for those ones who is not familiar with OpenOpt - it's a free Python-written numerical optimization framework: http://openopt.org I intend to take you opinions into account till next OpenOpt release 0.23 (2009-03-15) Thank you in advance, Dmitrey --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---