https://github.com/boppreh/derivative
Library for calculating derivatives using dual numbers
https://github.com/boppreh/derivative
Last synced: 3 months ago
JSON representation
Library for calculating derivatives using dual numbers
- Host: GitHub
- URL: https://github.com/boppreh/derivative
- Owner: boppreh
- License: mit
- Created: 2013-10-24T18:27:15.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-10-12T20:30:19.000Z (over 8 years ago)
- Last Synced: 2025-01-26T00:09:45.943Z (5 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
derivative
==========Library for calculating exact numeric derivatives using dual numbers.
Inspiration from http://jliszka.github.io/2013/10/24/exact-numeric-nth-derivatives.htmlf = lambda x: x * 5 + x ** 2 - 2 / x + 3 / x ** 2
print(derive(f, 6))