ExtrapolationTypes Enumeration |
Not all interpolation/extrapolation routines support all the extrapolation types, especially the Sqrt is only implemented in certain places..
Namespace: DHI.Mike1D.Generic
public enum ExtrapolationTypes
Member name | Value | Description | |
---|---|---|---|
NotAllowed | 0 | No extrapolation is allowed. An exception is thrown when argument is outside the valid interval. | |
Nearest | 1 | Get the nearest value | |
Linear | 2 | y = a * x + b, using the two closest value in the set | |
Sqrt | 3 | y = a * sqrt(x) + beta, using the two closest values in the set | |
SqrtOrNearest | 4 | When argument x is outside on the the first x-value side: nearest When argument x is outside on the the last x-value side: y = a * sqrt(x) + b. This method is suitable for extrapolation in Q-h relations. |