#5332: Convert MV polynomial constructors in multi_polynomial_ideal.py,
category_object.py, etc
-------------------------------------+-------------------------------------
Reporter: mabshoff | Owner: mabshoff
Type: enhancement | Status: needs_review
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 bruno):
Replying to [comment:12 vdelecroix]:
> Replying to [comment:11 mmezzarobba]:
> > Replying to [comment:10 vdelecroix]:
> > > Having something implicit in the right hand side of this declaration
is really bad. Don't you think?
> >
> > No `:-)`. At least, less so that repeating the name when the intention
is to have the variable name match the identifier. Also, that's both the
style the ticket description suggests and a very common choice in existing
sage documentation.
>
> This is one more thing that induces confusion between Python variables
and mathematical variables (not worse than `var(x)` though). It is not a
repetition as the semantic are very different.
I agree with Marc, I clearly see `sage: R.<x,y> = QQ['x,y']` as a
repetition. And I honestly do not see the problem with `sage: R.<x,y> =
QQ[]`: one is simply saying "''I define the polynomial ring over QQ with 2
variables, and I use the Python `x` and `y` to denote its generators. I
let Sage choose the way it represents graphically these generators''". And
then, of course it is quite nice that the default choice is to use the
string `"x"` for `x` and the string `"y"` for `y`.
Otherwise stated, I like in the notation `sage: R.<x,y> = QQ[]` the fact
that I simply define the object and not the way it is printed.
--
Ticket URL: <http://trac.sagemath.org/ticket/5332#comment:13>
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.