Skip to content
o1lo01ol1oPublic

About

DSL for forward and reverse mode automatic differentiation in Haskell. Port of DiffSharp.

Topics

Resources

Stars

28 stars

Watchers

4 watching

Forks

Latest commit

 

History

45 Commits

Folders and files

Repository files navigation

diffhask

Hackage Build status MIT license

Vive la programmation différentielle!

-- Yan LeCun

DSL for forward and reverse mode automatic differentiation via a version of operator overloading.

Port of DiffSharp to Haskell; currently a work in progress.

Example usage:

let g a b = (a + b / a) / (D 2.0 :: D Float)
compute $ diff' (fixPoint g (D 1.2)) (D 25.0 :: D Float) 
-- (D 1.0, D 5.0), (D 1.0, D 0.1)

About

DSL for forward and reverse mode automatic differentiation in Haskell. Port of DiffSharp.

Topics

Resources

Stars

28 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages