The pari option essentially just identifies which group it is from a list,
and gives back some very basic data about the group.  This is not always
easy to extract (see https://trac.sagemath.org/ticket/24469).   If you want
to do more, for example use group elements as automorphisms of the field,
you need more.

John

On 13 April 2018 at 13:57, Simon King <simon.k...@uni-jena.de> wrote:

> Hi David,
>
> On 2018-04-13, David Loeffler <d.a.loeff...@warwick.ac.uk> wrote:
> > On 13 April 2018 at 12:25, Sanketh <mendasank...@gmail.com> wrote:
> >
> >> This is probably obvious but why is type='gap' not standard for Galois
> >> groups?
> >>
> >
> > Because Pari is *vastly* faster. E.g. see this example, where Pari beats
> > Gap by a factor of 100:
> >
> > sage: K.<a> = NumberField(x^5 - x - 1)
> > sage: time _=K.galois_group(type='pari')
> > CPU times: user 8.26 ms, sys: 3.65 ms, total: 11.9 ms
> > Wall time: 53.5 ms
> > sage: time _=K.galois_group(type='gap')
> > CPU times: user 212 ms, sys: 149 ms, total: 361 ms
> > Wall time: 5.38 s
>
> Might be interesting to offer libgap as one option. After all, it avoids
> the time to start Gap.
>
> Best regards,
> Simon
>
> --
> 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...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to