#15276: Translation problem between Sage and Gap for cyclotomic field
-----------------------------------+------------------------
       Reporter:  vincent.beck     |        Owner:
           Type:  defect           |       Status:  new
       Priority:  major            |    Milestone:  sage-6.3
      Component:  algebra          |   Resolution:
       Keywords:  CyclotomicField  |    Merged in:
        Authors:  Vincent Beck     |    Reviewers:
Report Upstream:  N/A              |  Work issues:
         Branch:                   |       Commit:
   Dependencies:                   |     Stopgaps:
-----------------------------------+------------------------

Old description:

> Something strange is happening with the command CyclotomicField and the
> order of the associated generator. Everything works very well for n which
> is different from 2 mod 4 but does not work for n =2 mod 4 as seen in the
> following lines.
>

> {{{sage: k.<s>=CyclotomicField(7)
>
> sage: gap(s)
>
> E(7)
>
> sage: k(_)
>
> s
>
> sage: k.<s>=CyclotomicField (6)
>
> sage: gap(s)
>
> E(3)
>
> sage: k(gap(s)) s - 1
>
> }}}

New description:

 Something strange is happening with the command CyclotomicField and the
 order of the associated generator. Everything works very well for n which
 is different from 2 mod 4 but does not work for n =2 mod 4 as seen in the
 following lines.

 {{{
 sage: k.<s>=CyclotomicField(7)
 sage: gap(s)
 E(7)
 sage: k(_)
 s
 sage: k.<s>=CyclotomicField(6)
 sage: gap(s)
 E(3)
 sage: k(_)
 s - 1
 }}}

--

Comment (by vdelecroix):

 better presentation.

--
Ticket URL: <http://trac.sagemath.org/ticket/15276#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to