functioninterpolate_wLimit
Interpolate in a vector
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:] | x | Abscissa table vector (strict monotonically increasing values required) | |
| Real[size(x, 1)] | y | Ordinate table vector | |
| Real | xi | Desired abscissa value | |
| Integer | iLast | 1 | Index used in last search |
| Boolean | useBound | false | = true then value outside bounds are constant |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | yi | Ordinate value corresponding to xi | |
| Integer | iNew | 1 | xi is in the interval x[iNew] <= xi < x[iNew+1] |