erf()
This article describes erf() function.
Returns the error function of the input.
Syntax
erf(x)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| x | real | ✔️ | The value for which to calculate the function. |
Returns
Error function of x.
Example
range x from -3 to 3 step 1
| extend erf_x = erf(x)
| x | erf_x |
|---|---|
| -3 | -0.999977909503001 |
| -2 | -0.995322265018953 |
| -1 | -0.842700792949715 |
| 0 | 0 |
| 1 | 0.842700792949715 |
| 2 | 0.995322265018953 |
| 3 | 0.999977909503001 |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.