|
Contents | Previous | Next | Subchapters |
| Syntax |
erf(x) |
| See Also | erfc , cnormal , ierf |
The error function is defined by
x 2
2 / -t
erf(x) = -------- | e dt
sqrt(pi) /
0
ginit
x = 0. : .1 : 3.
gtitle("Error Function")
gplot(x, erf(x))
returns the following plot: