functionerfSimple
Error function (simple implementation, precision around 1e-7)
Extends from Modelica.Icons.Function (Icon for functions).
Information
Computes the error function erf(u) with a maximum error of 1.5e-7. Implementation is according to Abramowitz and Stegun (see Handbook of Mathematical Functions, page 299, equation 7.1.26).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | u |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | y | y = 2/sqrt(pi)*Integral_0_u exp(-t^2)*dt |
Revisions
| Date | Description | ||
|---|---|---|---|
| June 22, 2015 |
|