Hi Didier,

I hope you don't mind that I have some remarks about your patches

The f.coefficients() patch is only against MPolynomial_libsingular but is 
implemented generally enough to be pushed down to MPolynomial such that 
MPolynomial_polydict may benefit from it as well. Also, using f.dict() and 
f.exponents() is very slow from a MPolynomial_libsingular point of view. To 
make it faster, one could just walk through internal Singular C list of 
monomials directly. 

The R.random_element method on the other hand seems to be specialized for 
MPolynomial_polydict only, i.e. you'd loose the speed advantage of 
MPolynomial_libsingular by constructing an MPolynomial_polydict in any case. 

Martin

-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
_www: http://www.informatik.uni-bremen.de/~malb
_jab: [EMAIL PROTECTED]


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to