Re: [sage-support] sagenb popup

2009-12-06 Thread William Stein
2009/12/3 Dan Aldrich : > FYI, just started getting this pop-up today on sagenb.com. Things are > working fine once I get past this. > > "It looks like jsMath failed to set up properly (error code -7).  I > will try to keep going, but it could get ugly." > Thanks for reporting this. It should be

Re: [sage-support] Re: SIGSEGV ERROR

2009-12-06 Thread William Stein
2009/11/30 Rolandb : > I located the file at https://:8000/home/pub/0 Please click the Text link in the notebook, then paste the result here in an email. The error message you get "You might want to run SAGE under gdb with 'sage -gdb' to debug this. SAGE will now terminate (sorry)." is supposed

Re: [sage-support] Re: Integer points of an elliptic curve

2009-12-06 Thread Alex Ghitza
On Sun, Dec 06, 2009 at 04:23:35PM -0800, Jaakko Seppälä wrote: > I tried this. Do I need include some package in Sage. I have > sage3.0.5dfsg-4ubuntu1 installed via apt-get. I got this output Hi Jaakko, The version of Sage that's packaged in Debian in Ubuntu (3.0.5) is quite old by now. The cur

Re: [sage-support] Re: Integer points of an elliptic curve

2009-12-06 Thread Minh Nguyen
Hi, 2009/12/7 Jaakko Seppälä : > I tried this. Do I need include some package in Sage. I have > sage3.0.5dfsg-4ubuntu1 installed via apt-get. I got this output > sage: time pts = E.integral_model().integral_points() Please refer this section [1] from the FAQ. [1] http://wiki.sagemath.org/faq#Iu

[sage-support] Re: Integer points of an elliptic curve

2009-12-06 Thread Jaakko Seppälä
I tried this. Do I need include some package in Sage. I have sage3.0.5dfsg-4ubuntu1 installed via apt-get. I got this output sage: time pts = E.integral_model().integral_points() --- AttributeErrorTr

[sage-support] Re: Integer points of an elliptic curve

2009-12-06 Thread Yann
>From the example you give: 2x**3+385x**2+256x-58195=3y**2 , over the rational field it's not direct because sage does not handle general cubic equation yet. In sage, let's define: {{{ sage: R. = QQ[] sage: P = 2*x**3 + 385*x**2 + 256*x - 58195 - 3*y**2 }}} Given an equation A6 + A4 x + A3 y +

Re: [sage-support] Re: Plotting....

2009-12-06 Thread William Stein
On Sun, Dec 6, 2009 at 4:51 PM, Michel wrote: > Thanks for the reply. But no. The problem is not due to the fact that > the function has a singularity. Indeed. > > plot(20*log(abs((1+I*x)^4),10),(x,0,3)) > > fails with the same error which is incomprehensible to me. > > On the other hand turning t

[sage-support] Re: Plotting....

2009-12-06 Thread Michel
Thanks for the reply. But no. The problem is not due to the fact that the function has a singularity. Indeed. plot(20*log(abs((1+I*x)^4),10),(x,0,3)) fails with the same error which is incomprehensible to me. On the other hand turning the expression into a lambda function made it possible to plo

[sage-support] Re: When are _r_action_ and _l_action_ called?

2009-12-06 Thread Simon King
On 6 Dez., 22:21, Simon King wrote: > Is it in the reference manual? I didn't find it, which is surprising, > since I had no problem to find the documentation by introspection. Uh, not the documentation -- I found the *code* and learned from it... -- To post to this group, send email to sage-su

[sage-support] Re: When are _r_action_ and _l_action_ called?

2009-12-06 Thread Simon King
Hi! On 6 Dez., 19:47, Simon King wrote: [...] > Is it really needed to provide constructions? If  so: What is needed > to implement it? Meanwhile I think it would really make sense to use constructions. It is for the InfinitePolynomials, which I am currently re-factoring. So, I will probably pr

[sage-support] Re: Simplifying arctan2 expressions

2009-12-06 Thread taco
Thank you for all the replies. Re: William Stein I found substitute_function() useful for other purposes, but it wasn't useful in this case since I didn't want to replace all instances of arctan2, just the subset where the first parameter was 0. Re: Burcin Erocal Your substitution worked admirabl

[sage-support] Re: When are _r_action_ and _l_action_ called?

2009-12-06 Thread Simon King
Hi Mike! On 6 Dez., 18:08, Mike Hansen wrote: [...] > If you want this, it's not the _r_action_ and _l_action_ that does > this.  What allows Sage to find the new parent is the following: [...] Thanks! But still, I don't see why my code snipped doesn't work. The reference manual tells: """ Sup

[sage-support] Integer points of an elliptic curve

2009-12-06 Thread Jaakko Seppälä
I read from http://mathoverflow.net/questions/7907/elliptic-curves-integer-points than Sage can determine the integer points of an elliptic curve. What commands will do the trick? -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] Importing sage appliance error in virtualbox 3.1.0

2009-12-06 Thread Christopher Brown
I am experiencing an error using virtualbox 3.1.0 and the sage 4.1.2 appliance. When I import the appliance using virtualbox, the process runs for about two minutes, and then I receive a Windows error, "This program has stopped responding". Virtualbox then seems to have the appliance, but only ru

Re: [sage-support] When are _r_action_ and _l_action_ called?

2009-12-06 Thread Mike Hansen
On Sun, Dec 6, 2009 at 11:43 PM, Simon King wrote: > Hi! > > I have a question on the coercion model. Assume that we have  two > rings R1,R2, so that there is no coercion from R1 to R2 and no > coercion from R2 to R1. The classical example is R1=QQ and R2=ZZ['t']. > > Now let p1,p2 be an element o

[sage-support] When are _r_action_ and _l_action_ called?

2009-12-06 Thread Simon King
Hi! I have a question on the coercion model. Assume that we have two rings R1,R2, so that there is no coercion from R1 to R2 and no coercion from R2 to R1. The classical example is R1=QQ and R2=ZZ['t']. Now let p1,p2 be an element of R1,R2, respectively. I want to multiply them, the result livin

[sage-support] Re: losing confidence in Sage notebooks

2009-12-06 Thread tmb
> > I'm sorry to say, but the way I see it, there is really a serious > > problem with Sage notebooks right now. > > Please, please, fix it. I've never had any of the issues you're   > describing, but it sounds like you have a lot of reproducible bugs on  your > machine. These are the bugs/limita

[sage-support] Re: losing confidence in Sage notebooks

2009-12-06 Thread tmb
> SSH uses $HOME/.ssh > Thunderbird uses $HOME/.thunderbird > Mathematica uses $HOMe/.Mathematica > > Lots of programs do put configuration data in directories which start with a > dot. Yes, lots of programs put _configuration_ data in dot directories. Few programs put content, documents, or sof

Re: [sage-support] Plotting....

2009-12-06 Thread Francois Maltey
Hello Laurent and Michel ! [Maybe french users...] >> I never have any luck with plotting in Sage. The simplest plots fail. >> For example the following >> >> plot(20*log(abs((1+I*x)^4+4),10),(x,0,3)) >> >> > The answer of this > f(x) = abs((1+I*x)**4+4) > f(1) > is 0. > > Then the logari

Re: [sage-support] Plotting....

2009-12-06 Thread Laurent
Michel ha scripte: > I never have any luck with plotting in Sage. The simplest plots fail. > For example the following > > plot(20*log(abs((1+I*x)^4+4),10),(x,0,3)) > The answer of this f(x) = abs((1+I*x)**4+4) f(1) is 0. Then the logarithm produces -infinity. Maybe your parenthesis of abs are