conspire::math::special

Function langevin

Source
pub fn langevin(x: f64) -> f64
Expand description

Returns the Langevin function.

\mathcal{L}(x) = \coth(x) - x^{-1}