Automatic Differentation

Scala cli

//> using dep io.github.quafadas::spireAD::0.0.9

Mill

ivy"io.github.quafadas::spireAD::0.0.9"

goals

implement a reverse automatic differentation algorithm in Scala on top of spire.

Completeness (in terms of operations)

Adopt Spires typeclass driven design

Accuracy

Reasonable ease of use at the call site

non goals

(at this stage) performance

vectorisation