utils (Fortran module)

namespace utils

Utility module description goes here! This is a continuation line for the module description.

Author

J. Kaye

Version

0.0

Functions

subroutine evalexpfun(x, val)

Evaluate the function \( (1-e^{-x})/x \) using a numerically stable method when the exponent is close to unity.

Parameters
  • x[in] point to evaluate the function

  • val[out] resulting value