Click or drag to resize

ExtrapolationTypes Enumeration

Extrapolation types. When data is outside the data set, this controls how extrapolation takes place This does not control the type of interpolation for internal values.

Not all interpolation/extrapolation routines support all the extrapolation types, especially the Sqrt is only implemented in certain places..

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public enum ExtrapolationTypes
Members
  Member nameValueDescription
NotAllowed0 No extrapolation is allowed. An exception is thrown when argument is outside the valid interval.
Nearest1 Get the nearest value
Linear2 y = a * x + b, using the two closest value in the set
Sqrt3 y = a * sqrt(x) + beta, using the two closest values in the set
SqrtOrNearest4 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.
See Also