|
NAG[s15aec] NAG[nag_erf] - Error function
|
|
Calling Sequence
s15aec(x)
nag_erf(. . .)
Parameters
|
x - float;
|
|
|
On entry: the argument of the function.
|
|
|
|
Description
|
|
|
Purpose
|
|
nag_erf (s15aec) returns the value of the error function, .
|
|
Description
|
|
nag_erf (s15aec) evaluates
The approximation is based on Chebyshev expansions.
|
|
Error Indicators and Warnings
|
|
|
|
Accuracy
|
|
On a machine with approximately 11 significant figures the function agrees with available tables to 10 figures and consistency checking with s15adc (nag_erfc) of the relation shows errors in at worst the 11th figure.
|
|
|
Examples
|
|
>
|
x := -6:
NAG:-s15aec(x);
|
|
|
Download Help Document
Was this information helpful?