Calculates the Gaussian error function.
Syntax
Erf(Number)
The syntax of the Erf function consists of the following parts:
Part |
Description |
---|---|
Number |
The argument for the function. All data structures are allowed. All real data types are permitted. |
Remarks
The data type of the result is always 64-bit floating point.
The structure of the result corresponds to that of the argument Number. The calculation is done element-by-element where appropriate.
The result has the unit 1, if Number has a unit. Otherwise, it has no unit.
For aggregate data structures, only the Y component is calculated.
The Gaussian error function is defined as follows:
The following illustration shows the course of the function within the interval [-3, 3]:
If the argument is a list, then the function is executed for each element of the list and the result is also a list.
Available in
FlexPro Basic, Professional, Developer Suite
Examples
Erf(1) |
Results in 0.8427. |
Dim x = Series(-3, 3, 0.01) |
Calculates a signal with the course of the curve in the interval [-3, 3]. |