InverseLangevinApproximations.jl is a library for utilizing different approximation of the inverse of the Langevin function, ℒ. The approximations are primarily used in polymer mechanics; however, due to the potential use of the function in other areas of physics, the library is not limited to polymer mechanics.
All approximations are subtypes of AbstractInverseLangevinApproximation. Accessing the inverse of the Langevin function is done by calling inverse_langevin_approximation with the approximation type as the first argument and the value to approximate as the second argument.
y = 0.5
x = inverse_langevin_approximation(CohenRounded3_2(), y)See CITATION.bib for the relevant reference(s).