#5332: Convert MV polynomial constructors in multi_polynomial_ideal.py,
category_object.py, etc
-------------------------------------+-------------------------------------
       Reporter:  mabshoff           |        Owner:  mabshoff
           Type:  enhancement        |       Status:  needs_info
       Priority:  trivial            |    Milestone:  sage-6.4
      Component:  documentation      |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Marc Mezzarobba    |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/mmezzarobba/5332-objgen          |  c098677d560ea8b2d7e9ee5a12f58cb89193be3a
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by vdelecroix):

 Replying to [comment:22 mmezzarobba]:
 > Replying to [comment:21 vdelecroix]:
 > > I will update a commit in a minute. Few questions first:
 > >
 > > - what about other parts of the doc? (I have a commit ready for that)
 >
 > Which “other parts” are you talking about?

 Number field
 {{{
 sage: K.<a> = NumberField(x^2 - 2)
 }}}
 Finite fields
 {{{
 sage: K.<a> = GF(3^5)
 }}}
 Power series
 {{{
 sage: R.<x> = QQ[[]]
 }}}
 Dirichlet group
 {{{
 sage: G.<e> = DirichletGroup(20)
 }}}
 There are more or less a dozen of files (including `sage/schemes` and
 `sage/modular`).

 > > - what about the call to `objgen` or `objgens` in the code? (I have a
 commit to get rid of that)
 > > - what about deprecating the global functions `objgen` and `objgens`
 as well as the methods on `CategoryObject`?
 >
 > In library code, they are very useful!

 I agree that the method is useful on number fields, polynomial rings,
 power series. But at the level of category objects or parent?

 Vincent

 PS: Not speaking about the fact that
 {{{
 K = NumberField(x^2 - 2, 'a')
 a = K.gen()
 }}}
 is faster, less cryptic and more economic in characters than
 {{{
 K,a = NumberField(x^2-2,'a').objgen()
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/5332#comment:23>
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