Mikolaj / horde-ad

Higher Order Reverse Derivatives Efficiently - Automatic Differentiation library based on the paper "Provably correct, asymptotically efficient, higher-order reverse-mode automatic differentiation"
BSD 3-Clause "New" or "Revised" License
33 stars 6 forks source link

Simplify ForwardDerivative and buildDerivative #96

Closed Mikolaj closed 10 months ago

Mikolaj commented 1 year ago

Ideally get rid of the class and of the runtime type check and also of ST.

This is low priority/postpone only because forward derivative is the easy part, it's fairly separate and is used mostly for tests. However, it can be tackled already now and it's unlikely but not out of the question that this simplification could also provide ideas for the simplification of the reverse derivative code.

Mikolaj commented 10 months ago

ST is no longer used there on master branch (though ideally it'd be simpler still). Closing.