WOLFRAM SYSTEM MODELER
erfError function erf(u) = 2/sqrt(pi)*Integral_0_u exp(-t^2)*d |
SystemModel["Modelica.Math.Special.erf"]
This information is part of the Modelica Standard Library maintained by the Modelica Association.
Special.erf(u);
This function computes the error function erf(u) = 2/sqrt(pi)*Integral_0_u exp(-t^2)*dt numerically with a relative precision of about 1e-15. The implementation utilizes the formulation of the Boost library (53-bit implementation of erf.hpp, developed by John Maddock). Plot of the function:
For more details, see Wikipedia.
erf(0) // = 0 erf(10) // = 1 erf(0.5) // = 0.520499877813047
u |
Type: Real Description: Input argument |
---|
y |
Type: Real Description: = 2/sqrt(pi)*Integral_0_u exp(-t^2)*dt |
---|
Date | Description | ||
---|---|---|---|
June 22, 2015 |
|