Archive for April, 2007

Pretty printing

Sunday, April 29th, 2007

Thanks to a patch by Jurjen Bos (with some additions & modifications by me) we now got pretty printing in sympy. To see some examples, running it from isympy (you need sympy from svn): In [1]: pprint x**2 +x +1 ——> pprint(x**2 +x +1) 2 1+x+x In [2]: pprint limit(x, x, oo, evaluate=False) ——> pprint(limit(x, [...]

Concierto en la cárcel.

Thursday, April 19th, 2007

Esta mañana nos fuimos el grupo al completo a la prisión de albolote con alumnos de magisterio. Ellos (los alumnos de magisterio) iban a hacer una especie de prácticas que consistían en motivar a los presos a base de juegos, y nosotros íbamos porque después de los juegos dábamos un concierto en el salón de [...]

Hashing

Thursday, April 19th, 2007

Today I spent some time thinking about hashing in SymPy. Hashing is a central part of sympy and is implemented in the core. Now you might be thinking why is hashing so important in a CAS (Computer Algebra System) … I’ll try to explain: when you do things like “x+1 == 1+x” actualy you are [...]