functionlinspace_1D
Create a linearly spaced 1D array and the special case when n = 1 the average is returned
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x1 | Corner value x[1] | |
| Real | x2 | Corner value x[end] | |
| Integer | n | Array size |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[n] | y | Array |