> Too bad. But it should still be reported and fixed. malb: any opinion
> here?

sage: P.<x,y>=IntegerModRing(5)[]
sage: f=x*(y^2-x)^2+y^5;
sage: g=y^4+y^3-x^2
sage: f.resultant(g)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
....
TypeError: _singular_() got an unexpected keyword argument 'force'

That's a bug. 
(a) the generic _singular_() function doesn't know about force (and shouldn't)
(b) IntegerModRing(5) ['x,y'] should be implemented as libsingular polynomials 
anyway

I'll post a patch addressing that issue after the Sphinx-ification (3.3).

This works:

sage: P.<x,y>=GF(5)[]
sage: f=x*(y^2-x)^2+y^5;
sage: g=y^4+y^3-x^2
sage: f.resultant(g)
-y^11 - y^10 + y^9
sage: factor(_)
(-1) * (y - 2)^2 * y^9

Martin

-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
_otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF
_www: http://www.informatik.uni-bremen.de/~malb
_jab: martinralbre...@jabber.ccc.de


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to