Re: [sage-devel] Re: Question on the features introduced by #20382

2018-09-11 Thread Jeroen Demeyer
On 2018-09-12 07:42, Simon King wrote: However, the place in #25090/#25091 where the author uses is_package_installed, is a Python file. Why does a Python file care whether the normaliz library and headers are installed? Now I'm looking at #25091 and it seems to me (but correct me if I'm wron

[sage-devel] Re: Question on the features introduced by #20382

2018-09-11 Thread Simon King
Hi Jeroen, On 2018-09-11, Jeroen Demeyer wrote: > On 2018-09-11 18:55, Simon King wrote: >> Specifically, I ask because of #25090/#25091: How can one test whether >> normaliz is installed? > > Use Cython: see src/sage/features/bliss.py for an example for the > "bliss" library Thank you. If it w

Re: [sage-devel] Re: Can't compile 8.4.beta3

2018-09-11 Thread Andrew
It turns out that this is issue with 8.4.beta1 that Steven highlighted above, although the fix that I needed has a few more steps. I'll post details in sage-release under 8.4.beta1. In any case, I now have a working version of 8.4.beta4. Thanks Steven, John and Erik for your help! Andrew --

[sage-devel] Re: No signature shown for methods

2018-09-11 Thread Kwankyu Lee
Thanks for the discussion. This is now #26254. https://trac.sagemath.org/ticket/26254#ticket -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr..

Re: [sage-devel] QQ not isomorphic to itself?!

2018-09-11 Thread John Cremona
On Tue, 11 Sep 2018, 08:30 John Cremona, wrote: > > > On Mon, 10 Sep 2018 at 21:07, Jeroen Demeyer wrote: > >> On 2018-09-10 21:36, John Cremona wrote: >> > The bug is because of this: >> >> Since you almost fixed this bug, could you actually create a ticket to >> fix it? >> > > Will do > >

Re: [sage-devel] Question on the features introduced by #20382

2018-09-11 Thread Jeroen Demeyer
On 2018-09-11 18:55, Simon King wrote: Specifically, I ask because of #25090/#25091: How can one test whether normaliz is installed? Use Cython: see src/sage/features/bliss.py for an example for the "bliss" library -- You received this message because you are subscribed to the Google Groups

[sage-devel] Re: No signature shown for methods

2018-09-11 Thread Simon King
Hi Erik, On 2018-09-11, Erik Bray wrote: > Oh right, thank you for the reminder. I could have sworn there *was* > something like that but I couldn't remember what it was. I think it > works by parsing the Cython sources IIRC. Correct. And in addition there are certain special methods (_sage_do

[sage-devel] Question on the features introduced by #20382

2018-09-11 Thread Simon King
Hi! In #20382, is_package_installed got replaced by "Features". I found out how to check for the presence of an executable. But how can one check with "Features" whether a certain c-library and its headers is installed? Specifically, I ask because of #25090/#25091: How can one test whether norma

Re: [sage-devel] Re: No signature shown for methods

2018-09-11 Thread Erik Bray
On Tue, Sep 11, 2018 at 5:30 PM Simon King wrote: > > Hi Erik, > > On 2018-09-11, Erik Bray wrote: > > On Tue, Sep 11, 2018 at 9:57 AM Kwankyu Lee wrote: > >> > >> Hi, > >> > >> I wonder why help on a method does not show the signature: > > > > ... > > In the meantime I don't know that there's a

[sage-devel] Re: No signature shown for methods

2018-09-11 Thread Simon King
Hi Erik, On 2018-09-11, Erik Bray wrote: > On Tue, Sep 11, 2018 at 9:57 AM Kwankyu Lee wrote: >> >> Hi, >> >> I wonder why help on a method does not show the signature: > > ... > In the meantime I don't know that there's a satisfactory workaround > (some kind of Sage-specific solution using deco

Re: [sage-devel] Tools to compute Hilbert Poincaré series

2018-09-11 Thread Simon King
Hi! FWIW: I opened #26243, providing code to compute Hilbert series. It is generally a bit slower than libsingular (not much), but does not suffer from libsingular's 32-bit limitation. Best regards, Simon -- You received this message because you are subscribed to the Google Groups "sage-devel"

Re: [sage-devel] Re: zn_poly status?

2018-09-11 Thread Victor Shoup
I didn't run "make tune"...I guess I should to make things more fair. So I downloaded the version of zn_poly from https://gitlab.com/sagemath/zn_poly I then built and i

Re: [sage-devel] Re: zn_poly status?

2018-09-11 Thread Erik Bray
On Tue, Sep 11, 2018 at 4:14 PM Victor Shoup wrote: > > I got curious, so I collected some data. Here are timing results comparing > NTL's zz_pX multiplication > to zn_poly's zn_array_mul. For various values of n, I multiplied polynomials > of degree < n > modulo a 50 bit number. The values o

[sage-devel] Re: zn_poly status?

2018-09-11 Thread Victor Shoup
I got curious, so I collected some data. Here are timing results comparing NTL's zz_pX multiplication to zn_poly's zn_array_mul. For various values of n, I multiplied polynomials of degree < n modulo a 50 bit number. The values of n are powers of 2 and halfway between powers of 2, ranging bet

Re: [sage-devel] No signature shown for methods

2018-09-11 Thread Erik Bray
On Tue, Sep 11, 2018 at 9:57 AM Kwankyu Lee wrote: > > Hi, > > I wonder why help on a method does not show the signature: It's not because it's a method. It's because it's a Cythonized built-in method, for which it's not possible to introspect the signature. This is a known issue not in Sage o

[sage-devel] No signature shown for methods

2018-09-11 Thread Kwankyu Lee
Hi, I wonder why help on a method does not show the signature: --- sage: a=17 sage: a.quo_rem? Docstring: Returns the quotient and the remainder of self divided by other. Note that the remainder returned is always either zero or of the same sign

Re: [sage-devel] QQ not isomorphic to itself?!

2018-09-11 Thread John Cremona
On Mon, 10 Sep 2018 at 21:07, Jeroen Demeyer wrote: > On 2018-09-10 21:36, John Cremona wrote: > > The bug is because of this: > > Since you almost fixed this bug, could you actually create a ticket to > fix it? > Will do > > -- > You received this message because you are subscribed to the