STORMM Source Documentation
|
Implement Norbert Juffa's fast erfc(alpha * x) approximation for 32-bit floating point computations. In the most prominent case for molecular dynamics, alpha corresponds to the "Ewald coefficient.". More...
#include <juffa.h>
Public Member Functions | |
JfErfc (float alpha_in=1.0) | |
The constructor requires a pre-factor for the argument that the object will eventually take in order to return erfc(alpha * x). | |
float | erfcJf (float x) |
Evaluate the approximate erfc(alpha * x) using all 32-bit floating-point arithmetic. | |
Implement Norbert Juffa's fast erfc(alpha * x) approximation for 32-bit floating point computations. In the most prominent case for molecular dynamics, alpha corresponds to the "Ewald coefficient.".
float stormm::stmath::JfErfc::erfcJf | ( | float | x | ) |
Evaluate the approximate erfc(alpha * x) using all 32-bit floating-point arithmetic.
x | The function argument to evaluate |