functionFindInterval
Half-interval search algorithm
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x | Input | |
| Real | breaks | Grid points defining the intervals |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | i | Found interval number | |
| Integer | error | 0 | 1=did not find interval |