#20407: Add Magma interface for orders and ideals of number fields
-------------------------------------+-------------------------------------
       Reporter:  mmasdeu            |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-7.2
      Component:  interfaces:        |   Resolution:
  optional                           |    Merged in:
       Keywords:  ideals, orders,    |    Reviewers:  Vincent Delecroix
  magma                              |  Work issues:
        Authors:  Marc Masdeu        |       Commit:
Report Upstream:  N/A                |  ffdad84f97ec2d6c93c5f1f63e389d5f6b2b884e
         Branch:  u/mmasdeu/20407    |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by vdelecroix):

 Indeed, #20388 is merged in the last beta and I was able to use magma.

 However
 {{{
 sage: K.<a> = NumberField(x^3 + 2)
 sage: I = K.ideal(5)
 sage: I._magma_init_(magma)
 Traceback (most recent call last):
 ...
 TypeError: Error evaluating Magma code.
 IN:_sage_[3]:=SageCreateWithNames(PolynomialRing(_sage_ref1),["x"]);
 OUT:
 In file "/home/delecroi/tmp/data//sage/basic.m", line 104, column 6:
 >>   if IsPrimeField(X) then
         ^
 Runtime error: Undefined reference 'IsPrimeField' in package
 "/home/delecroi/tmp/data//sage/basic.m"
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/20407#comment:4>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to