Click or drag to resize

InterpolatableDoubleArray Class

Class implementing IInterpolatableT for type double array.

The arrays must have same lengths in order for interpolation to take place. In the constructor must be specified wether length differences is allowed or if it shold fail (throw an exception). If different lengths are allowed, it will return closest array, i.e., it will switch at the ratio of 0.5.

Inheritance Hierarchy
SystemObject
  DHI.Mike1D.GenericInterpolatableDoubleArray

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class InterpolatableDoubleArray : IInterpolatable<double[]>

The InterpolatableDoubleArray type exposes the following members.

Constructors
  NameDescription
Public methodInterpolatableDoubleArray
Default constructor
Top
Methods
  NameDescription
Public methodCanInterpolate
Returns true if interpolation can take place between a and b value
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInterpolate
Interpolation returning a value of type T on the form: T newT = (1.0 - bRatio)*aValue + bRatio*bValue
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also