FastExp

Trait FastExp 

Source
pub trait FastExp<V>
where V: Float + MulAssign,
{ // Required method fn fastexp(&self) -> V; }
Expand description

This trait adds a fast approximation of exp to float types.

Required Methods§

Source

fn fastexp(&self) -> V

Implementations on Foreign Types§

Source§

impl FastExp<f64> for f64

Source§

fn fastexp(&self) -> f64

Fast approximation of exp() as shown by Kopczynski 2017: https://eldorado.tu-dortmund.de/bitstream/2003/36203/1/Dissertation_Kopczynski.pdf

Implementors§