romeric / fastapprox

Approximate and vectorized versions of common mathematical functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Approximate and vectorized versions of common mathematical functions


Languages

Language:Mathematica 79.4%Language:C++ 10.7%Language:C 9.1%Language:M4 0.4%Language:Shell 0.4%