wolfe-pack / wolfe

Wolfe Language and Engine
https://wolfe-pack.github.io/wolfe
Apache License 2.0
135 stars 17 forks source link

Symbolic Differentiation #13

Closed riedelcastro closed 9 years ago

rockt commented 10 years ago

Java libraries

rockt commented 10 years ago

Deferred, since I couldn't find a satisfying solution and writing our own symbolic differentiation would be quite time consuming. We can use Deriva to replace the AST of a mathematical expression (annotated with @Differentiable) with a function (Apply) that, when called, calculates the derivative. However, I don't think we get access to the symbolic representation of the derivative. Also, Deriva seems to be quite alpha. Alternatives are building upon other non-Java libraries for symbolic differentiation.

Reopen, since we can generate NumPy code from within Scala and call it :D