[sage-support] Re: [sage-notebook] Re: [sage-devel] Coming SageMathCell upgrade - please test!

2016-05-01 Thread Andrey Novoseltsev
OK, embedding seems to work for Chrome and Firefox, so reported regressions are fixed. I am planning to switch main servers in 3 weeks. (Probably 7.2 will be out by then, so I'll also see how easy it is to upgrade with the new setup.) -- You received this message because you are subscribed to

[sage-support] Re: [sage-notebook] Re: [sage-devel] Coming SageMathCell upgrade - please test!

2016-05-01 Thread Andrey Novoseltsev
Made it work in Chrome via https://github.com/sagemath/sagecell/commit/95d2b406026ea7efc73a91ef693a1dd9fb5946c6 (my attempts to create all wrappers using a loop were not successful) Made some progress on CORS but there are still issues. On Mon, Apr 25, 2016 at 2:35 AM, Volker Braun

[sage-support] [Cython] Howto import pure c function versions of sagemath functions into cython

2016-05-01 Thread Max Külshammer
Hi there, I would like to use a sage function (is_power_of) in an cython program I am writing (via %cython in SMC). To speed things up I would like to import the c version of is_power_of which can be found in https://github.com/sagemath/sage/blob/master/src/sage/rings/integer.pyx#L4271 as

[sage-support] Re: Speed comparison to Mathematica

2016-05-01 Thread john_perry_usm
> If you want speed to study it, implementing it yourself in Sage is (IMHO) > a good idea because Sage has fairly good debugging facilities like a trace > function, and you can compile parts of it via Cython. > Oops. Speaking of wrong impressions, I should qualify this statement: last I

[sage-support] Re: Speed comparison to Mathematica

2016-05-01 Thread john_perry_usm
On Friday, April 29, 2016 at 1:07:31 PM UTC-5, saad khalid wrote: > > However, what are other things? And do you think it would actually be > worthwhile? It's an algorhythm for calculating groebner bases. I don't know > if that matter. I just didn't know if the language would give any sizable

[sage-support] Re: coercion failure?

2016-05-01 Thread Volker Braun
ZZ and RDF have string representations as '123' and '123.456', respectively. The analog for QQ is sage: QQ('123/456') 41/152 On Sunday, May 1, 2016 at 4:14:42 AM UTC+2, kcrisman wrote: > > RDF('0.0') is fine > QQ(RDF('0.0')) is fine > QQ('0') is fine > That one is really just QQ(ZZ('0'))