#11983: unnecessary parentheses for coefficients (finite field) in multivariate
polynomial
-------------------------------------------------+-------------------------
Reporter: dkrenn | Owner: was
Type: defect | Status: new
Priority: minor | Milestone: sage-6.4
Component: user interface | Resolution:
Keywords: parentheses, multivariate | Merged in:
polynomial, finite field | Reviewers:
Authors: | Work issues:
Report Upstream: N/A | Commit:
Branch: | Stopgaps:
Dependencies: |
-------------------------------------------------+-------------------------
Description changed by jdemeyer:
Old description:
> We have
> {{{
> sage: F.<a>=GF(9)
> sage: R.<x,y>=F[]
> sage: a*x+1
> (a)*x + 1
> }}}
> There, clearly the parentheses around `a` are unnecessary. In the
> univariate case, the phenomenon does not appear:
> {{{
> sage: S.<s>=F[]
> sage: a*s+1
> a*s + 1
> }}}
New description:
We have
{{{
sage: F.<a>=GF(9)
sage: R.<x,y>=F[]
sage: a*x+1
(a)*x + 1
}}}
There, clearly the parentheses around `a` are unnecessary. In the
univariate case, the phenomenon does not appear:
{{{
sage: S.<s>=F[]
sage: a*s+1
a*s + 1
}}}
The reason is that this should return True:
{{{
sage: F._repr_option('element_is_atomic')
False
}}}
--
--
Ticket URL: <http://trac.sagemath.org/ticket/11983#comment:9>
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.