2 ms·
I guess it depends on what you assume are mathematical "primitives". Log is an integral. Exp is an infinite series. Normal cdf (erf) and its inverse (erfinv)
by rmrfstar 6y ago
I guess it depends on what you assume are mathematical "primitives".
Log is an integral. Exp is an infinite series.
Normal cdf (erf) and its inverse (erfinv) are implemented almost everywhere exp and log are implemented. E.g. MKL and CUDA. Both can be computed via series or integral (like exp and log).
[1] https://en.wikipedia.org/wiki/Error_function https://en.wikipedia.org/wiki/Error_function
[2] https://people.maths.ox.ac.uk/gilesm/files/gems_erfinv.pdf https://people.maths.ox.ac.uk/gilesm/files/gems_erfinv.pdf
- kqr 6y agoNow that! Is much more constructive information. I'll look for those methods sooner in the future.