inverse_langevin¶
- pylimer_tools_cpp.inverse_langevin(x: float) float ¶
A somewhat accurate (for \(x \in (-1, 1)\)) implementation of the inverse Langevin function.
Source: https://scicomp.stackexchange.com/a/30251
- Parameters:
x – Input value in the range (-1, 1)
- Returns:
Inverse Langevin function value