[sage-support] Re: reflexive @interact controls (control values update)

2014-05-09 Thread Nils Bruin
On Friday, May 9, 2014 1:05:23 PM UTC-7, Jason Grout wrote: > Right---the interact always is recreating that control, which defaults > to the first entry. With a selector, our thinking was that if the item > was already selected, then it didn't need to be selected again. But I can see where i

Re: [sage-support] possible bug in DiscreteHiddenMarkovModel - NaN produced in output matrices

2014-05-09 Thread William Stein
On Fri, May 9, 2014 at 12:12 PM, Jesse Hersch wrote: > On Thursday, May 8, 2014 5:59:10 PM UTC-7, William wrote: >> >> > Do you recall if you handled the underflow problem in your >> > implementation? >> >> I believe it does not. >> >> > I haven't studied the code yet, but it seems like this could

[sage-support] Re: reflexive @interact controls (control values update)

2014-05-09 Thread Jason Grout
On 5/9/14, 11:14, Nils Bruin wrote: Hi Jason, Thank you very much for all the work on SageCell. It's an unbelievably useful tool to make little demonstrations. On Friday, May 9, 2014 6:11:24 AM UTC-7, Jason Grout wrote: 4. When you click on a selector button that is already selected, the

[sage-support] Re: possible bug in DiscreteHiddenMarkovModel - NaN produced in output matrices

2014-05-09 Thread leif
Jesse Hersch wrote: What is the usual way sage developers go about making changes in cython code without rebuilding everything? Edit the file(s), then run './sage -b' (which only rebuilds the necessary files of the Sage library). './sage -br' rebuilds the library and afterwards starts Sage,

Re: [sage-support] possible bug in DiscreteHiddenMarkovModel - NaN produced in output matrices

2014-05-09 Thread Jesse Hersch
On Thursday, May 8, 2014 5:59:10 PM UTC-7, William wrote: > > Do you recall if you handled the underflow problem in your > implementation? > > I believe it does not. > > > I haven't studied the code yet, but it seems like this could be the > culprit. > > I think you're right. You should impl

[sage-support] Re: reflexive @interact controls (control values update)

2014-05-09 Thread Nils Bruin
Hi Jason, Thank you very much for all the work on SageCell. It's an unbelievably useful tool to make little demonstrations. On Friday, May 9, 2014 6:11:24 AM UTC-7, Jason Grout wrote: > > 4. When you click on a selector button that is already selected, the > cell server ignores the click (since

Re: [sage-support] Divisibility between Archimedean places

2014-05-09 Thread John Cremona
I have forwarded your posting to sage-nt which has readers who may help who don't follow sage-support. You are welcome to join sage-nt (for which I am a moderator so if I see your name I'll let you in!) Sorry not to have actually helped answer your question! John Cremona On 9 May 2014 13:30, Y

Re: [sage-support] Jacobian in characteristic 3

2014-05-09 Thread John Cremona
It is quite likely that the implementation of Jacobian for plane cubics does not work in characteristic 3 (at least in general). I had something to do with early implementations but then it was all rewritten in terms of Jacobians, so I cannot remember the details. Perhaps Volker Braun can comment

[sage-support] Re: reflexive @interact controls (control values update)

2014-05-09 Thread Jason Grout
On 5/8/14, 11:01, William Stein wrote: @interact def foo(functions=[sin(x)], f=sin(x)): show(plot(foo.functions)) del foo.functions foo.functions = [f(x=x), f(x=x^2), f(x=x^3)] Here's a corresponding one working in the cell server: http://sagecell.sagemath.org/?q=ribyjg @inter

[sage-support] Divisibility between Archimedean places

2014-05-09 Thread Yves Lignac
Hello all, I am looking for a way to determine if an embedding $\sigma$ of a number field $L$ into the complex numbers restricts to a given embedding $\tau$ of a subfield $K$ (asking for equality between $\tau$ and $\sigma \circ i$ where $i$ is the embedding of $K$ into $L$ does not work). Mor

Re: [sage-support] Re: Complex embedding with quotient()

2014-05-09 Thread François Colas
That's exactly what I wanted to do f = F([omega],check=False) Thank you :) Le jeudi 8 mai 2014 08:16:41 UTC+2, Martin Albrecht a écrit : > > Hi Nils, > > On Wednesday 07 May 2014 16:43:03 Nils Bruin wrote: > > On Wednesday, May 7, 2014 9:58:48 AM UTC-7, François Colas wrote: > > > What I want

[sage-support] Jacobian in characteristic 3

2014-05-09 Thread Gabriel Furstenheim Milerud
I'd like to create an elliptic curve from a degree 3 polynomial without a base point, but when I use the Jacobian method I get a "division by zero" error. This is my data: A=GF(3^2,'c') S.=A[] gS=a^3 - a^2*b + b^3 - a^2*c - a*b*c + b^2*c + a*c^2 + b*c^2 + c^3 Jacobian(gS) My intuition is that

[sage-support] Re: Optional GAP packages in Sage 6.2

2014-05-09 Thread leif
Michael Hind wrote: Hi, I just built Sage 6.2 from source (ex .git) and it brings in GAP 4.7.4. Now the sage --optional lists ... database_gap-4.6.4 .. not installed ... gap_packages-4.6.4.p1 ... not installed ... I am not too happy about installing these I

[sage-support] Optional GAP packages in Sage 6.2

2014-05-09 Thread Michael Hind
Hi, I just built Sage 6.2 from source (ex .git) and it brings in GAP 4.7.4. Now the sage --optional lists ... database_gap-4.6.4 .. not installed ... gap_packages-4.6.4.p1 ... not installed ... I am not too happy about installing these I already have GAP 4.7.