pub trait FastExp<V>where V: Float + MulAssign<V>,{ // Required method fn fastexp(&self) -> V; }
This trait adds a fast approximation of exp to float types.
Fast approximation of exp() as shown by Kopczynski 2017: https://eldorado.tu-dortmund.de/bitstream/2003/36203/1/Dissertation_Kopczynski.pdf