On Mar 11, 2009, at 19:04, Jerry K wrote: > I had thought a while back about digging into building some math code > for clojure contrib for applications like algebra and number theory, > since Clojure's Lispyness makes it well suited for that, but wasn't > sure anybody else was especially interested. I was also thinking > about throwing together an interval arithmetic package that would have > been useful to me on a now concluded project, but never got around to > it. Are there Clojurers out there doing math-intensive stuff with > regularity?
Yes, or rather, very probably in the future. Building a math environment is one of my long-term goals in working with Clojure, and my recent experiments with types and interfaces are partly motivated by this. What I have in mind is an infrastructure consisting of a few well-designed interfaces, types, and macros, that makes it possible to plug in functionality such as interval arithmetic, automatic derivatives, arithmetic on polynomials, physical units, etc., but also symbolic manipulations of fomulas. Concerning algebra, I would like to have the possibility to simply define a group or a vector space by defining a representation and the associated operations. A system that can serve for inspiration is the SCMUTILS package for Scheme that was developed for use with the quite remarkable book "Structure and Interpretation of Classical Mechanics" by Sussman and Wisdom. Unfortunately, it is also remarkable for its lack of portability, leaving many readers quite frustrated at not being able to run the code given in the book. But it contains many good ideas. For more information: http://groups.csail.mit.edu/mac/users/gjs/6946/linux-install.htm http://groups.csail.mit.edu/mac/users/gjs/6946/refman.txt Konrad. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---