Closed riedelcastro closed 9 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
Java libraries