#17603: disc() inconsistent for rational and integer polynomials
------------------------------+-----------------------------------------
Reporter: boerner | Owner:
Type: enhancement | Status: new
Priority: trivial | Milestone: sage-6.5
Component: linear algebra | Keywords: discriminant beginner
Merged in: | Authors: Michel Boerner
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
------------------------------+-----------------------------------------
Integer polynomials do not define a method {{{disc()}}}, yet rational
polynomials do.
{{{
sage: R.<x>=ZZ[]
sage: f=x^2+4
sage: f.discriminant()
-16
sage: f.disc()
AttributeError
sage: g=f.change_ring(QQ)
sage: g.disc()
-16
}}}
Adding {{{disc()}}} to the respective file for integer polynomials.
--
Ticket URL: <http://trac.sagemath.org/ticket/17603>
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.