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.

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class InterpolatableDoubleArray : IInterpolatable<double[]>
Inheritance
Object    InterpolatableDoubleArray
Implements
IInterpolatableDouble

Constructors

InterpolatableDoubleArray Default constructor

Methods

CanInterpolate Returns true if interpolation can take place between a and b value
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Interpolate Interpolation returning a value of type T on the form: T newT = (1.0 - bRatio)*aValue + bRatio*bValue
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also