functionqag
QAG integration routine
Extends from Modelica.Icons.Function (Icon for functions).
Information
Function for accessing the external GSL QAG integration routine.Keep in mind that the 'integrand' must be "created" beforehand: see the 'CreateIntegrand' model and the 'integrand_setup' function.

Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n_par | ||
| Real[n_par] | par | ||
| Real | a | ||
| Real | b | ||
| Real | rel_err | ||
| Integer | limit | ||
| Integer | key |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | y | ||
| Real | err |