Special_Functions contain procedures for calculating special functions.
The code for the calculation of the complementary error function was modified from the public domain subroutine ERRINT from the package SPECFN.
Module | Variables |
---|---|
DEFINITIONS | DP |
None.
There is a single public function in this module.
Function | Type | Purpose |
---|---|---|
ERFC | Real | Calculate the complementary error function. |
Argument | Type | Intent | Optional | Purpose |
---|---|---|---|---|
X | Real | In | No | The argument to the function. |
The algorithm for the calculation of Erfc is not the most efficient and could be improved.