functionFindInterval

Half-interval search algorithm

Extends from Modelica.Icons.Function.

Inputs

TypeNameDefaultDescription
RealxInput
RealbreaksGrid points defining the intervals

Outputs

TypeNameDefaultDescription
IntegeriFound interval number
Integererror01=did not find interval