Re: [sage-support] Cython problem

2017-01-25 Thread Jeroen Demeyer
On 2017-01-25 17:07, jordan.h.e...@gmail.com wrote: Hello, I've been trying to use cython in Jupyter and it fails to compile. My version of Sage is 7.3. It was installe from the ppa. I run Linux Mint. I guess that you are missing a compiler toolchain. In your case, the system header files

[sage-support] Cython problem

2017-01-25 Thread jordan . h . emme
Hello, I've been trying to use cython in Jupyter and it fails to compile. My version of Sage is 7.3. It was installe from the ppa. I run Linux Mint. Here is the error message: RuntimeError: Error compiling /home/jordan/.sage/temp/jordan-laptop/5677/tmp_fun1sz.spyx: running build running

[sage-support] Re: [symbolic] return the argument of a sinusoidal function

2017-01-25 Thread slelievre
Wed 2017-01-25 11:56:54 UTC+1, João Alberto Ferreira: > Hi! > > Does any one knows a function or a way to return > the argument of a sinusoidal function? I have the > following code and wanted to operate on the argument > of the cosinus function. > > # upchirp carrier > var('t, phi_0,

[sage-support] Re: Working of ZZ_pEX_IterIrredTest.

2017-01-25 Thread Dima Pasechnik
It calls the NTL library and gets the result, that's all, more or less. Consult http://www.shoup.net/ntl/ to see how the actual hard work is done. On Wednesday, January 25, 2017 at 10:21:06 AM UTC, Deshpande Varad Shailendra wrote: > > Hello guys, > I wanted to know how does the is_irreducible()

[sage-support] Re: Properly importing Python modules in Sage

2017-01-25 Thread Dima Pasechnik
On Wednesday, January 25, 2017 at 3:50:33 AM UTC, pp wrote: > > Nope, I'm editing one file, outside Sage library. > Sage is Python, too :-) Python's reload() works in Sage just as well. See http://stackoverflow.com/questions/1254370/reimport-a-module-in-python-while-interactive > > On

[sage-support] [symbolic] return the argument of a sinusoidal function

2017-01-25 Thread João Alberto Ferreira
Hi! Does any one knows a function or a way to return the argument of a sinusoidal function? I have the following code and wanted to operate on the argument of the cosinus function. # upchirp carrier var('t, phi_0, omega_0, omega_1, T') k = (omega_1 - omega_0)/T; k # linear chirp signal

[sage-support] Working of ZZ_pEX_IterIrredTest.

2017-01-25 Thread Deshpande Varad Shailendra
Hello guys, I wanted to know how does the is_irreducible() function in polynomial_zz_pex work ? The link for the function is below : https://github.com/sagemath/sage/blob/master/src/sage/rings/polynomial/polynomial_zz_pex.pyx -- You received this message because you are subscribed to the