XLPack 7.0
XLPack Numerical Library (Excel VBA) Reference Manual
Loading...
Searching...
No Matches

◆ Dawson_sub()

Sub Dawson_sub ( Ret As  Double,
X As  Double,
Optional Info As  Long 
)

Dawson's function F(x) (Subroutine version)

Purpose
Computes the Dawson's function F(x).
F(x) = exp(-x^2) * ∫exp(t^2) dt [0, x]
Parameters
[out]RetDawson's function F(x).
[in]XArgument x.
[out]Info(Optional)
= 0: Successful exit.
= 1: Floating point range error.