https://github.com/romeric/fastapprox
Approximate and vectorized versions of common mathematical functions
https://github.com/romeric/fastapprox
libm machine-learning math-functions simd vectorization
Last synced: 2 months ago
JSON representation
Approximate and vectorized versions of common mathematical functions
- Host: GitHub
- URL: https://github.com/romeric/fastapprox
- Owner: romeric
- Created: 2016-04-18T14:22:21.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-01-05T08:28:32.000Z (almost 6 years ago)
- Last Synced: 2025-01-08T14:32:33.906Z (11 months ago)
- Topics: libm, machine-learning, math-functions, simd, vectorization
- Language: Mathematica
- Homepage:
- Size: 546 KB
- Stars: 197
- Watchers: 4
- Forks: 35
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- anything_about_game - fastapprox
README
# fastapprox
Approximate and vectorized versions of common mathematical functions
The easiest way to include this in your projects is via the one big standalone header file which works with both C and C++.
### Current functions:
- exponential, logarithm, and power
- lgamma and digamma
- cosh, sinh, tanh
- cos, sin, tan
- sigmoid and erf
- Lambert W
There's a Mathematica notebook which helps explain the techniques.