Skip to main content

An Automatic Differentiation Package

Project description

codecov

Build Status

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autodiff-AsiaUnionCS107-0.0.7.tar.gz (12.4 kB view hashes)

Uploaded Source

Built Distribution

autodiff_AsiaUnionCS107-0.0.7-py3-none-any.whl (14.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page