Keywords
-
Function groups
-
@
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Group:
Statistical Distributions
See also:
erfc
Function:
erf
Description:
erf returns the error function.
Usage:
y = erf(x)
Input:
x
array
Output:
z
array
Note:
erf(x) = 2/sqrt(pi)*integral from 0 to x of exp(-t*t) dt
Example:
x = #(0, 1/
sqrt
(2))~#(-1, -1/
sqrt
(2))
erf
(x)
Result:
Contents of erf [1,] 0 -0.84272
(C) MD*TECH Method and Data Technologies, 05.02.2006