Search
-
Recent Posts
Recent Activity
Error: Twitter did not respond. Please wait a few minutes and refresh this page.
Categories
Archive
- July 2010
- June 2010
- May 2010
- March 2010
- December 2009
- November 2009
- October 2009
- August 2009
- July 2009
- June 2009
- May 2009
- August 2008
- June 2008
- May 2008
- March 2008
- February 2008
- December 2007
- November 2007
- October 2007
- August 2007
- June 2007
- May 2007
- March 2007
- November 2006
- August 2006
- July 2006
- February 2006
- October 2005
- September 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- December 2004
- June 2004
- March 2004
- February 2004
- December 2003
- October 2003
- June 2003
Category Archives: Math
Wiki + Spreadsheet
The underlying concept is very simple: spreadsheets are a way to organize text, numbers and formulas into what might be seen as a natively numeric environment: a matrix. So what would happen if we loosed some of the bolts of … Continue reading
Posted in Math, Project, Python
5 Comments
Hey, nice float!
python-nicefloat is a Python module implementing an algorithm based on the paper “Printing Floating-Point Numbers Quickly and Accurately”, by Robert G. Burger and R. Kent Dybvig. The implemented algorithm will find the shortest, correctly rounded output string representing a decimal … Continue reading
Posted in Math, Project, Python
4 Comments
Problem of the Week at University of Massachusetts
University of Massachusetts has a very nice Problem of the Week service where they post a new math related problem every monday. At that time they report the percentage of people that correctly answered the question as well. To submit … Continue reading
Posted in Math, Puzzle, Python
Leave a comment
All combinations of N elements
Here’s a snippet to compute all combinations of N elements over K positions.
Posted in Math, Python, Snippet
3 Comments
Permutations of all subsets
Another snippet to compute the permutations of all subsets.
Posted in Math, Python, Snippet
3 Comments
Permutations and derangements
Two snippets to compute permuatations and derangements in Python.
Posted in Math, Python, Snippet
4 Comments
Toy interpreter for Linear Algebra
While working with Linear Algebra, I’ve decided to build a toy interpreter in C to play around. This was a quite interesting experiment for myself, since it was the first time I’ve built a complete (with tokenizer, compiler, and interpreter) … Continue reading