modelErfComparison

Comparison of erf(x) from GSL and Modelica

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

Comparison of error functions, erf(x), from GSL and Modelica.Math.Special, resulting in agreement to machine precision:

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.Rampx_ramp
Blocks.specfunc.Erferf
Modelica.Blocks.Math.Adddiff
Modelica.Blocks.Sources.RealExpressionerf_mod