Re: [sage-support] Re: Accessing group generators in libgap

2018-09-30 Thread Vincent Delecroix
Dear Simon, The main problem is that G is a gap group and not a libgap group. By gap group I mean that the interface going through the pexpect interface. The two systems gap and libgap do not seem to share the namespaces (which make sense). For example, this does work sage: gap(g1) f1 but

[sage-support] Re: Accessing group generators in libgap

2018-09-30 Thread Simon King
Hi Vincent, On 2018-09-30, Vincent Delecroix <20100.delecr...@gmail.com> wrote: > The main problem is that G is a gap group and not a libgap > group. By gap group I mean that the interface going through > the pexpect interface. The two systems gap and libgap do not > seem to share the namespaces (

[sage-support] Re: Accessing group generators in libgap

2018-09-30 Thread Simon King
On 2018-09-30, Simon King wrote: > D) libgap's and gap's methods should have roughly similar semantics That said: Of course I see the point of designing the libgap interface in the way it was done: libgap(X), where X is something in Sage, should return something in libgap that corresponds to X (h

Re: [sage-support] Re: Accessing group generators in libgap

2018-09-30 Thread Dima Pasechnik
On Sun, 30 Sep 2018, 10:10 Simon King, wrote: > Hi Vincent, > > On 2018-09-30, Vincent Delecroix <20100.delecr...@gmail.com> wrote: > > The main problem is that G is a gap group and not a libgap > > group. By gap group I mean that the interface going through > > the pexpect interface. The two sys

[sage-support] Re: Accessing group generators in libgap

2018-09-30 Thread Simon King
Hi Dima, On 2018-09-30, Dima Pasechnik wrote: > if you have a nontrivial GAP computation to be done in libgap, why not just > use libgap's function_factory? > Then you don't need to jump various hoops across sage/libgap boundary. If I understand correctly, the function_factory allows to create a

[sage-support] Help with getting the python code

2018-09-30 Thread Nataliya Demyanenko
Hello, Please, let me know if I can gain access to the python code displayed on this page https://blog.hhl.de/en/current-projections-for-the-german-federal-elections/ I look forward to your reply. Best regards, Nataliya -- You received this message because you are subscribed to the Google Gro

Re: [sage-support] Help with getting the python code

2018-09-30 Thread Dima Pasechnik
On Sun, Sep 30, 2018 at 5:35 PM Nataliya Demyanenko wrote: > Please, let me know if I can gain access to the python code displayed on this > page > https://blog.hhl.de/en/current-projections-for-the-german-federal-elections/ Sorry, I don't think sagemath.org, the project behind this list, has an

Re: [sage-support] Help with getting the python code

2018-09-30 Thread John H Palmieri
On Sunday, September 30, 2018 at 9:58:33 AM UTC-7, Dima Pasechnik wrote: > > On Sun, Sep 30, 2018 at 5:35 PM Nataliya Demyanenko > > wrote: > > Please, let me know if I can gain access to the python code displayed on > this page > > > https://blog.hhl.de/en/current-projections-for-the-german

Re: [sage-support] Re: Accessing group generators in libgap

2018-09-30 Thread Dima Pasechnik
Hi Simon, On Sun, Sep 30, 2018 at 11:01 AM Simon King wrote: > On 2018-09-30, Dima Pasechnik wrote: > > if you have a nontrivial GAP computation to be done in libgap, why not just > > use libgap's function_factory? > > Then you don't need to jump various hoops across sage/libgap boundary. > > If

Re: [sage-support] Help with getting the python code

2018-09-30 Thread Dima Pasechnik
On Mon, Oct 1, 2018 at 12:21 AM John H Palmieri wrote: > > > > On Sunday, September 30, 2018 at 9:58:33 AM UTC-7, Dima Pasechnik wrote: >> >> On Sun, Sep 30, 2018 at 5:35 PM Nataliya Demyanenko >> wrote: >> > Please, let me know if I can gain access to the python code displayed on >> > this page