functionarithmetic
Return the arithmetic mean of numbers
Extends from Modelica.Icons.Function (Icon for functions).
Information
Example:
arithmetic({1,2,3}) returns 2.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:] | u | Vector of numbers |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | mean | Arithmetic mean |