Skip to content

A forward and reverse mode automatic differentiation tool for efficient, precise derivatives, ideal for users new to autodiff concepts, supporting scalar/vector inputs and dual numbers.

License

Notifications You must be signed in to change notification settings

amelialwx/AutoDiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An Automatic Differentiation Library

test.yml coverage.yml

An automatic differentiation library for my CS207 final project at Harvard University.

What is autodiff?

autodiff is a package that provides users with forward-mode and reverse-mode automatic differentiation tools to compute derivatives of mathematical functions up to machine precision with high efficiency. With this software, the user can perform automatic differentiation for themselves. Our software focuses on the elementary functions of automatic differentiation for users who are more unfamiliar with the concept to utilize.

The library currently supports forward mode and reverse mode automatic differentiation, real functions with scalar or vector inputs, and multiple functions with scalar or vector inputs.

Forward mode is implemented using the unique properties of dual numbers. Reverse mode is implemented using reverse traversal through a computational graph.

How to Install

The user can install the package using the code below

pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple AutoDiff-Library==1.0

How to Use

Please take a look at the documentation under the "How to Use autodiff" section.

Extra

Code coverage results can be found here.

Package on Test PyPI can be found here.

Author

Contributors

GitHub

LinkedIn Website Gmail Medium Instagram

About

A forward and reverse mode automatic differentiation tool for efficient, precise derivatives, ideal for users new to autodiff concepts, supporting scalar/vector inputs and dual numbers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages