#10844: Implemented discriminant for multivariate polynomials
----------------------------+-----------------------------------------------
Reporter: mmarco | Owner: AlexGhitza
Type: enhancement | Status: new
Priority: major | Milestone:
Component: algebra | Keywords: Polynomials Discriminant
Author: Miguel Marco | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
Comment(by dsm):
In docstring: The variable with respect we compute the discriminant ->
"with respect to which"?
Error message when given the zero polynomial:
{{{
sage: R.<x,y> = QQ[]
sage: f = 0*x
sage: type(f)
<type
'sage.rings.polynomial.multi_polynomial_libsingular.MPolynomial_libsingular'>
sage: f.discriminant(x)
---------------------------------------------------------------------------
TypeError Traceback (most recent call
last)
/Applications/sage_devel/devel/sage-main/<ipython console> in <module>()
/Applications/sage_devel/local/lib/python2.6/site-
packages/sage/rings/polynomial/multi_polynomial_libsingular.so in
sage.rings.polynomial.multi_polynomial_libsingular.MPolynomial_libsingular.discriminant
(sage/rings/polynomial/multi_polynomial_libsingular.cpp:27499)()
/Applications/sage_devel/local/lib/python2.6/site-
packages/sage/rings/polynomial/multi_polynomial_libsingular.so in
sage.rings.polynomial.multi_polynomial_libsingular.MPolynomial_libsingular.coefficient
(sage/rings/polynomial/multi_polynomial_libsingular.cpp:16283)()
TypeError: The input degrees must be a dictionary of variables to
exponents.
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10844#comment:1>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.