<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-436496352933562096</id><updated>2012-02-17T04:19:12.683Z</updated><title type='text'>Sympythy</title><subtitle type='html'>Progress of my 2007 Google Summer of Code project</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://robert-code.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/436496352933562096/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://robert-code.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Robert</name><uri>http://www.blogger.com/profile/10644674458756425098</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-436496352933562096.post-4527857092868161355</id><published>2007-08-15T21:10:00.001+01:00</published><updated>2007-08-15T21:20:30.073+01:00</updated><title type='text'>Faster arithmetic</title><content type='html'>A quick proof-of-concept finite field arithmetic and factorization was done. And the factorization over the finite field was reasonably fast, too, but the big prime reconstruction of the integer factors took some more time. Also, the resulting complete algorithm spent a lot of time with square-free factorization and other preparations. So, it was quite disappointing.&lt;br /&gt;&lt;br /&gt;I still started over again, rewriting everything from scratch, now with tests. First the modular integers, with a custom class for each modulus. Then a generic light-weight polynomial class, for one variable, using Python dictionaries. Then some algorithms for polynomials with finite prime field coefficients, with complete factorization, which is also quite fast. Today, I've started to do some more integer polynomial arithmetic, with a gcd using a small primes modular approach. Should be one of the fastest, asymptotically, but probably needs some more tweaking in my implementations. I should now check in which cases these modular methods really are faster than working with rational numbers. All this won't be finished for the Summer of Code deadline, but can be further advanced, while I learn from my new bought book, "Modern Computer Algebra" (Gathen, Gerhard).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/436496352933562096-4527857092868161355?l=robert-code.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://robert-code.blogspot.com/feeds/4527857092868161355/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=436496352933562096&amp;postID=4527857092868161355' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/436496352933562096/posts/default/4527857092868161355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/436496352933562096/posts/default/4527857092868161355'/><link rel='alternate' type='text/html' href='http://robert-code.blogspot.com/2007/08/faster-arithmetic.html' title='Faster arithmetic'/><author><name>Robert</name><uri>http://www.blogger.com/profile/10644674458756425098</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-436496352933562096.post-3629130464023523419</id><published>2007-08-06T08:51:00.000+01:00</published><updated>2007-08-06T09:01:48.621+01:00</updated><title type='text'>Finite field factorization</title><content type='html'>I've finished updating the documentation and have started to move to next point, faster univariate factorization. This is done modular, with factorization over a finite field first. Fortunately, this point is a major part of Garthen and Gerhard's "Modern Computer Algebra" and thus well explained. Unfortunately, I've also read there:&lt;br /&gt;&lt;blockquote&gt;Computaionally, (fast) polynomial factorization over a finite field is a much more advanced task than, for example, multiplication or even gcd computation. Before implementing a particular algorithm, one has to implement carefully many other routines for basic polynomial arithmetic, and designing a polynomial factorization package usually requires several woman-years.&lt;/blockquote&gt;I still hope to get something done this week, doesn't have to be optimal, then. Let's see if it is a lot if work to integrate modular (number) arithmetic, or if this is better done "inline".&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/436496352933562096-3629130464023523419?l=robert-code.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://robert-code.blogspot.com/feeds/3629130464023523419/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=436496352933562096&amp;postID=3629130464023523419' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/436496352933562096/posts/default/3629130464023523419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/436496352933562096/posts/default/3629130464023523419'/><link rel='alternate' type='text/html' href='http://robert-code.blogspot.com/2007/08/finite-field-factorization.html' title='Finite field factorization'/><author><name>Robert</name><uri>http://www.blogger.com/profile/10644674458756425098</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-436496352933562096.post-7847031384531261992</id><published>2007-08-01T15:06:00.000+01:00</published><updated>2007-08-01T15:17:28.126+01:00</updated><title type='text'>Refactoring</title><content type='html'>Now, that the planned features are roughly present and we have moved to a new core with SymPy, there were some suggestions concerning the structure of the polynomials class. Most of them about the wrapper functions and code duplication, or the internals of the Polynomials class.&lt;br /&gt;The Polynomials class is now immutable, as are all Basic-inherited classes, and tries hard to pretend to be a Basic object itself. We'll see how that will turn out. The wrapper classes essentially only extract the underlying sympy expression of the resulting Polynomial.&lt;br /&gt;&lt;br /&gt;The plan for the next days includes:&lt;br /&gt;Documentation (proper docstrings everywhere, algorithms explained)&lt;br /&gt;Testing (more complete tests, with comments)&lt;br /&gt;&lt;br /&gt;Then there are some more important features, like fast univariate integer factorization with finite fields. We'll have to look at some number theoretic python package, probably nzmath. Also, the equation system solver could tell us, when we are missing some solutions, that can't be computed but still exist.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/436496352933562096-7847031384531261992?l=robert-code.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://robert-code.blogspot.com/feeds/7847031384531261992/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=436496352933562096&amp;postID=7847031384531261992' title='3 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/436496352933562096/posts/default/7847031384531261992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/436496352933562096/posts/default/7847031384531261992'/><link rel='alternate' type='text/html' href='http://robert-code.blogspot.com/2007/08/refactoring.html' title='Refactoring'/><author><name>Robert</name><uri>http://www.blogger.com/profile/10644674458756425098</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-436496352933562096.post-6067495830479088777</id><published>2007-07-17T01:04:00.000+01:00</published><updated>2007-07-17T01:12:24.379+01:00</updated><title type='text'>Finally, multivariate factorization</title><content type='html'>Ok, I gave up with Wang's algorithm, for now. It is not &lt;span style="font-style: italic;"&gt;that &lt;/span&gt;hard, in general, but the article describing it left quite some questions open for me. So instead of procrastinating the implementation any further, I did another algorithm, just today. It is a lot simpler, also due to Kronecker (20th century!), and not too efficient, of course.&lt;br /&gt;&lt;br /&gt;The last feature I want to add now, is solving polynomial equations. It is already possible now to compute a Gröbner base in a convenient order, like lexicographic, to get eliminiation working. Then, for each variable, you have to solve the univariate polynomial in that variable with solve(). You could insert each of these roots in the rest of the equation and proceed with the next variable. The problem with that is, that this approach only works for equations with a finite number of solution, which has to be decided first.&lt;br /&gt;&lt;br /&gt;Then there is still some time left for polishing: Documentation and efficiency allow for improvement!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/436496352933562096-6067495830479088777?l=robert-code.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://robert-code.blogspot.com/feeds/6067495830479088777/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=436496352933562096&amp;postID=6067495830479088777' title='1 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/436496352933562096/posts/default/6067495830479088777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/436496352933562096/posts/default/6067495830479088777'/><link rel='alternate' type='text/html' href='http://robert-code.blogspot.com/2007/07/finally-multivariate-factorization.html' title='Finally, multivariate factorization'/><author><name>Robert</name><uri>http://www.blogger.com/profile/10644674458756425098</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-436496352933562096.post-7979090734595879493</id><published>2007-07-04T01:04:00.000+01:00</published><updated>2007-07-04T01:17:36.157+01:00</updated><title type='text'>Rational factorization.</title><content type='html'>Just committed the new factorization algorithm for polynomials in one variable with rational coefficients. In now factorizes completely, doesn't just look for roots. In theory, factorization of polynomials over the rationals and factorization over the integers are equivalent (by Gauss's lemma). This means, that you can get rational factorization by getting rid of the denominators, then the content (gcd of coefficients), factorize over integers and divide the denominator again. Nothing is lost or gained this way. But in the implementation this situation got me a lot of problems. I always had to assume that the coefficients are integer, checking would occur often and so is expensive. On the other hand, some algorithms, like gcd sometimes introduce non-integer rationals, that need to be corrected afterwards. It seems to be fixed now (all assertions run) but it doesn't look elegant, something simpler should do.&lt;br /&gt;&lt;br /&gt;I hoped that the Kronecker algorithm would be fast enough, so that we wouldn't need finite fields for that, but it looks like this is impossible, since the complexity is exponential in (the number of divisors of each of) the coefficients of the polynomials, working fine for simple examples, but probably no real-life problems.&lt;br /&gt;&lt;br /&gt;But the next direct step should be multivariate factorization, as a generalization of the univariate case, to complete more of my initial proposal, before worrying too much about efficiency.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/436496352933562096-7979090734595879493?l=robert-code.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://robert-code.blogspot.com/feeds/7979090734595879493/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=436496352933562096&amp;postID=7979090734595879493' title='1 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/436496352933562096/posts/default/7979090734595879493'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/436496352933562096/posts/default/7979090734595879493'/><link rel='alternate' type='text/html' href='http://robert-code.blogspot.com/2007/07/rational-factorization.html' title='Rational factorization.'/><author><name>Robert</name><uri>http://www.blogger.com/profile/10644674458756425098</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-436496352933562096.post-2865940516044110748</id><published>2007-06-26T20:09:00.000+01:00</published><updated>2007-06-26T20:21:41.822+01:00</updated><title type='text'>Refactoring, Sturm, Sqare-free</title><content type='html'>So, most of the refactoring is done, there are now wrapper functions for the common algorithms, that create Polynomial instances and call specialized functions in sub-modules. It's not perfect, the code-reusing and efficiency could be better, but I'm relatively happy with it.&lt;br /&gt;&lt;br /&gt;I also implemented Sturm sequences. These can be used for univariate polynomials, to count the real roots in a given interval. This could be extended to isolate the (existing) roots in rational intervals, to give some representation of algebraic numbers, together with an irreducible polynomial.&lt;br /&gt;&lt;br /&gt;For that, you need a square-free polynomial (multiple roots are likely to be ignored by the Sturm sequence), so I looked at (and fixed) the square-free decomposition algorithm.&lt;br /&gt;&lt;br /&gt;Next things to do include multivariate square-free decomposition, fast factorization with one variable over the integers (Zassenhaus or Berlekamp), some multivariate factorization (found a paper by Wang) and some faster multivariate gcd (using sub-resultants?). All this is needed, before I can attack elimination and finally equation systems.&lt;br /&gt;&lt;br /&gt;When looking for algorithms today, I've noticed that most books only treat the univariate cases, but the articles are not accessible for free/everybody. Where do you usually get the ideas/help?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/436496352933562096-2865940516044110748?l=robert-code.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://robert-code.blogspot.com/feeds/2865940516044110748/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=436496352933562096&amp;postID=2865940516044110748' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/436496352933562096/posts/default/2865940516044110748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/436496352933562096/posts/default/2865940516044110748'/><link rel='alternate' type='text/html' href='http://robert-code.blogspot.com/2007/06/refactoring-sturm-sqare-free.html' title='Refactoring, Sturm, Sqare-free'/><author><name>Robert</name><uri>http://www.blogger.com/profile/10644674458756425098</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-436496352933562096.post-5019618073274552079</id><published>2007-06-13T21:53:00.000+01:00</published><updated>2007-06-13T22:18:22.258+01:00</updated><title type='text'>Back to work - New polynomial representation.</title><content type='html'>Sorry for the delay, folks, I am finally back in Heidelberg, Germany and have also got over last week's procrastination problems.&lt;br /&gt;&lt;br /&gt;I was about to refactor the function code, to write wrapper functions, looking for variables and coefficient type and then choosing the best specialized algorithm to do the job. But writing the functions, e.g. the division algorithm, I remarked the cumbersome way of using (and keeping in sync) two different representations, the sympy object and the coefficient list. Since the latter is necessary for the leading term computation, I thought it was best to stick with it for all arithmetic like addition and multiplication. This way, it should also be way faster, but we'll see about that.&lt;br /&gt;&lt;br /&gt;The way it is implemented does not satisfy me at all, the code that handles variables and order before adding two such objects is ugly and (perhaps) contra-intuitive. Also, much more code-reusing could be made. But I hope, that the use of this class will look cleaner in the basic algorithms.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/436496352933562096-5019618073274552079?l=robert-code.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://robert-code.blogspot.com/feeds/5019618073274552079/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=436496352933562096&amp;postID=5019618073274552079' title='1 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/436496352933562096/posts/default/5019618073274552079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/436496352933562096/posts/default/5019618073274552079'/><link rel='alternate' type='text/html' href='http://robert-code.blogspot.com/2007/06/back-to-work-new-polynomial.html' title='Back to work - New polynomial representation.'/><author><name>Robert</name><uri>http://www.blogger.com/profile/10644674458756425098</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-436496352933562096.post-6914386344906402753</id><published>2007-05-30T22:51:00.000+01:00</published><updated>2007-05-30T23:10:35.634+01:00</updated><title type='text'>class `Ideal', next steps</title><content type='html'>So, the Summer of Code officially started this week. Unfortunately, I'm spending my last days in Paris right now and will have to spend some time on moving back to Germany this/next week.&lt;br /&gt;&lt;br /&gt;On the other hand, some functionality (especially the groebner() function) are already available, even if in some slow, unpolished way. I've also added a new class `Ideal' that represents polynomial ideals and supports simple compositions, like I+J, I*J, I**3 and I.intersect(J), can test for membership, as in f in I --&gt; True, or equality, I == J (equality in terms of the set, not the attributes like variables or order). I hoped to add the functionality of computing the radical of an ideal (the multivariate, multipolynomial equivalent of square-free part) but this turns out to be rather difficult, and not of any practical use outside of (theoretic) algebraic geometry.&lt;br /&gt;&lt;br /&gt;The groebner() function also has a nice application in computing the lcm and gcd of two multivariate polynomials with real (and even symbolic) coefficients, which could be used for rational simplifications, if not for speed issues. I know that there are faster ways to compute the gcd and also the whole factorization of polynomials, using modular algorithms, that is, factorizing mod some prime number p, that trying to `lift' the result. Unfortunately these algorithms can only be applied to polynomials in integer (and thus rational) coefficients, but could never handle some factor sin(z) for an unrelated z, as the Gröbner bases can. Nevertheless, these modular algorithms are on the to-do list.&lt;br /&gt;&lt;br /&gt;Also on this list is a function generating the Sturm sequence (I'll write about that later) that can count real roots of a polynomial and than perhaps approximate them with rational intervals. Then there is room for those standard formulas to get the real and complex roots of polynomials of degree &lt; style="font-weight: bold;"&gt;not&lt;/span&gt; be such a formula for higher degree)&lt;br /&gt;&lt;br /&gt;These will be the requirements for the whole elimination process, which could be somewhat limited with approximated non-rational roots, but we'll see.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/436496352933562096-6914386344906402753?l=robert-code.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://robert-code.blogspot.com/feeds/6914386344906402753/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=436496352933562096&amp;postID=6914386344906402753' title='1 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/436496352933562096/posts/default/6914386344906402753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/436496352933562096/posts/default/6914386344906402753'/><link rel='alternate' type='text/html' href='http://robert-code.blogspot.com/2007/05/class-ideal-next-steps.html' title='class `Ideal&apos;, next steps'/><author><name>Robert</name><uri>http://www.blogger.com/profile/10644674458756425098</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-436496352933562096.post-2286329274697419072</id><published>2007-05-24T12:19:00.000+01:00</published><updated>2007-08-06T09:01:15.763+01:00</updated><title type='text'></title><content type='html'>Nice literature&lt;br /&gt;&lt;p&gt;I forgot to mention some interesting books I use.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;The most important one is Cox, Little, O'Shea: &lt;a href="http://www.cs.amherst.edu/~dac/iva.html"&gt;Ideals, Varieties, and Algorithms&lt;/a&gt;, which is an introduction to algebraic geometry (and commutative algebra) using a relatively constructive approach. That is, for most of the objects, there are not only proofs of existence (and uniqueness) but also algorithms (or at least references). I like it very much and have learned a lot so far; it was already a plan for the summer to revise some algebraic geometry, this fits very well.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Yesterday, I found two other books in the university, more directly concerned with (general) computer algebra:&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Davenport, Siret, Tournier: &lt;a href="http://people.bath.ac.uk/masjhd/DSTeng.html"&gt;Computer Algebra&lt;/a&gt; is a gentle introduction to different features of CAS, problems of data representation and some advanced algorithms. It could be a bit outdated on current implementation details and running times, but gives a quick overview and offers confrontation with problems otherwise ignored. (Already half-way through, not looking at all details)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Gathen, Gerhard: &lt;a href="http://www-math.uni-paderborn.de/mca/"&gt;Modern Computer Algebra&lt;/a&gt;. Have not looked at it in detail, but looks really nice. One of the authors is an employee of MapleSoft and all methods are presented with a huge list of applications and examples. The content is presented with some information on historic development and stuffed with nice quotations (also in the original language, way to go!)&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/436496352933562096-2286329274697419072?l=robert-code.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://robert-code.blogspot.com/feeds/2286329274697419072/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=436496352933562096&amp;postID=2286329274697419072' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/436496352933562096/posts/default/2286329274697419072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/436496352933562096/posts/default/2286329274697419072'/><link rel='alternate' type='text/html' href='http://robert-code.blogspot.com/2007/05/nice-literature-i-forgot-to-mention.html' title=''/><author><name>Robert</name><uri>http://www.blogger.com/profile/10644674458756425098</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-436496352933562096.post-1300974815581084148</id><published>2007-05-23T21:29:00.000+01:00</published><updated>2007-08-06T09:01:15.769+01:00</updated><title type='text'></title><content type='html'>Gröbner basis&lt;br /&gt;&lt;p&gt;Hey, my first blog entry so far.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;My name is Robert Schwarz, I am a student of mathematics and computer science at the university of Heidelberg, Germany. For the next two weeks, I'll still be staying in Paris, where I passed a year with the Erasmus student exchange program.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;The GSoC project is mostly about Gröbner bases and application. The euclidean algorithm for finding the gcd of 2 integers is one of the most popular examples in programming. The same thing also works for polynomials, but unfortunately only in one variable. The Gröbner basis is a set of polynomials that means to replace the role of the gcd.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;When looking for the solutions of some system of polynomial equations f(x,y)=0, g(x,y)=0 it is clear that we could add more equations like f+g or f*h for some polynomial h without affecting the set of solutions. The set of such equations/polynomials is called the ideal I = &lt;f, g&gt;, generated by f and g. If I want to know if some polynomial h(x,y) lies in I, I have to check if it can be written as h = a*f + b*g, that is, I try to divide h by f and g and look at the remainder, similar to the division with integers. Unfortunately, the choice of f,g and even their order can influence the remainder here, and it is the special characterization of the Gröbner bases, that it works with them. Hope, it is a bit clearer for those who have never heard of them.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;The natural application lies of course in the solving of polynomial equations, with simplification of the equations and systematic elimination of variables. I think I've read somewhere that Gröbner bases are also needed for some other feature in sympy, I'm very interested in that, please tell me, so that I can start to help.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Yesterday, I finished the implementation of Buchberger's algorithm that computes Gröbner bases, so in theory, it is already available, even if it's still a bit slow.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Items on my to-do list: Speed improvements in groebner(), real-life examples for polynomial equations, elimination, factorization of polynomials, solving for (real) roots.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/436496352933562096-1300974815581084148?l=robert-code.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://robert-code.blogspot.com/feeds/1300974815581084148/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=436496352933562096&amp;postID=1300974815581084148' title='1 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/436496352933562096/posts/default/1300974815581084148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/436496352933562096/posts/default/1300974815581084148'/><link rel='alternate' type='text/html' href='http://robert-code.blogspot.com/2007/05/grbner-basis-hey-my-first-blog-entry-so.html' title=''/><author><name>Robert</name><uri>http://www.blogger.com/profile/10644674458756425098</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
