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

Comment (by mmezzarobba):

 * I'm wondering why you made this change:
 {{{
 --- a/src/sage/rings/polynomial/polynomial_element.pyx
 +++ b/src/sage/rings/polynomial/polynomial_element.pyx
 @@ -181,8 +181,12 @@ cdef class Polynomial(CommutativeAlgebraElement):

      EXAMPLE::

 -        sage: R.<y> = QQ['y']
 -        sage: S.<x> = R['x']
 +        sage: R = QQ['x']['y']
 +        sage: R
 +        Univariate Polynomial Ring in y over Univariate Polynomial Ring
 in x
 +        over Rational Field
 +        sage: y = R.gen()
 +        sage: x = R.base_ring().gen()
          sage: f = x*y; f
          y*x
          sage: type(f)
 }}}

 * Does this work? How?
 {{{
 --- a/src/sage/schemes/generic/algebraic_scheme.py
 +++ b/src/sage/schemes/generic/algebraic_scheme.py
 @@ -194,7 +194,7 @@ def is_AlgebraicScheme(x):

      We create a more complicated closed subscheme::

 -        sage: A, x = AffineSpace(10, QQ).objgens()
 +        sage: A = AffineSpace(10, QQ)
          sage: X = A.subscheme([sum(x)]); X
          Closed subscheme of Affine Space of dimension 10 over Rational
 Field defined by:
          x0 + x1 + x2 + x3 + x4 + x5 + x6 + x7 + x8 + x9
 }}}

 * Shouldn't `>>` be `>` here? Also, I would add a mention of `.<>` without
 removing that of `objgens()`.
 {{{
  The third argument specifies the printing names of the generators
 -of the homogenous coordinate ring. Using objgens() you can obtain
 -both the space and the generators as ready to use variables.
 +of the homogenous coordinate ring. Using the special syntax with
 +``<`` and ``>>`` you can obtain both the space and the generators as
 ready to
 +use variables.
 }}}

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