func-analysis

Analyze function behavior using introductory calculus.


Keywords
func-analysis, calculus, math, mpmath, python
License
Other
Install
pip install func-analysis==0.3.0

Documentation

Function Analysis

pipeline status coverage report Code Climate LGTM license python version latest release code style: black

This library uses concepts typically taught in an introductory Calculus class to describe properties of continuous, differentiable, single-variable functions.

Using this library

The func_analysis module defines the class AnalyzedFunc. An instance of this class has several attributes describing the behavior of this function.

Required data include:

  • A range
  • The function to be analyzed

Special points include zeros, critical numbers, extrema, and points of inflection. Calculating these is possible when given the number of points wanted.

Optional data can be provided to improve precision and performance. Such data include:

  • Any derivatives of the function
  • Any known zeros, critical numbers, extrema, points of inflection
  • Intervals of concavity, convexity, increase, decrease
  • Any vertical axis of symmetry

Any of the above data can be calculated by an instance of AnalyzedFunc.

License

This program is licensed under the GNU Affero General Public License v3 or later.