An Automatic Differentiation Package
Project description
Final Project - autodiff Python Package
AC207 Systems Development for Computational Science, Fall 2020
Group Number 7
- Sehaj Chawla
- Xin Zeng
- Yang Xiang
- Sivananda Rajananda
Overview
Differentiation, the process of finding a derivative, is one of the most fundamental operations in mathematics. Computational techniques of calculating differentiations have broad applications in science and engineering, including numerical solution of ordinary differential equations, optimization and solution of linear systems. Besides, they also have many real-life applications, like edge detection in image processing and safety tests of cars. Symbolic Differentiation and Finite Difference are two ways to numerically compute derivatives. Symbolic Differentiation is precise, but it can lead to inefficient code and can be costly to evaluate. Finite Difference is quick and easy to implement, but it can introduce round-off errors. Automatic Differentiation handles both of these two problems. It achieves machine precision without costly evaluation, and therefore is widely used.
Our package, autodiff, provides an easy way to calculate derivatives of functions for both scalar and vector inputs. It implements both of forward and reverse mode of automatic differentiation, and also extends to root-finding with Newton's method.
We invite you to use autodiff package and help us improve it!
The link for full documentation is here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for autodiff-AsiaUnionCS107-0.0.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68d9e98453deb1134c291c1e63e7b9d36e1030f5d980b13e3ac30da5c19192bc |
|
MD5 | 3f60cbb59560342b1493dc49519b5db5 |
|
BLAKE2b-256 | 9d0ed00b0740b30c3af5ac1b68324f2d2efe65519dac01da82b37da897e9b496 |
Hashes for autodiff_AsiaUnionCS107-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7aee486ad280320742ad86342f90fde3effadd449b14c203c6e32edff5d0c4ed |
|
MD5 | 743d82fd8ff61b3a645b983dcf14827f |
|
BLAKE2b-256 | 23d8cbecb7c5e9b96efc4c49f2e3c6a553590a56aa723270669b1328fdc83da6 |