InterpolatableDoubleArray Class |
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.
Namespace: DHI.Mike1D.Generic
public class InterpolatableDoubleArray : IInterpolatable<double[]>
The InterpolatableDoubleArray type exposes the following members.
Name | Description | |
---|---|---|
InterpolatableDoubleArray |
Default constructor
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets 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
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |