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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Sources.Ramp | x_ramp | ||
| Blocks.specfunc.Erf | erf | ||
| Modelica.Blocks.Math.Add | diff | ||
| Modelica.Blocks.Sources.RealExpression | erf_mod |