On Wednesday 12 January 2011, Alex Raichev wrote:
> I had some library problems in creating a Sage sandbox but resolved
> them with the help of ask.sagemath.org.  So now i'm back into
> submitting to Sage a function that checks whether a list of
> polynomials is algebraically independent.  Since my function uses an
> elimination ideal, i took Simon's advice and added it as a method of
> the class
> sage.rings.polynomial.multi_polynomial_libsingular.MPolynomialRing_libsingu
> lar. 

I still think that mq.MPolynomialSystem would be a good class, since 
essentially implements  a list of polynomials in light of the fact that we 
don't identify lists of polynomials and ideals in Sage. Of course, it should 
be moved to sage.rings.polynomial (I can do that, so you don't have to worry 
about that).

> Then i ran into trouble, because that class is written in Cython, i
> only know Python, and my code is written in Sage.  Man, this is
> getting difficult, and yet my function is so simple!

Just drop your code into the class of your choice - Python or Cython. Cython 
implements most of Python's syntax, so your code should just work.

Cheers,
Martin

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

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

Reply via email to