[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Symbolic Differentiation
- From: steve donovan <steve.j.donovan@...>
- Date: Thu, 7 May 2009 16:56:43 +0200
Ever since I had a brief affair with LISP in 1981, I've wanted to do
LISP-like things without typing so many damn parentheses. Well, as you
no doubt know, this kind of thing is quite natural to Lua. This is
actually a spin-off from Penlight's func module, which constructs
expression trees to implement lambdas ('Placeholder Expressions').
Short summary: Differentiation is not hard, cleaning up afterwards
(simplification) can be challenging. Also, using unbalanced
expression trees will drive you mad.