TableInterpolator Class

Interpolate a table from two other tables.

The "x-column" of the two tables are merged into one new interpolated x-column by interpolating the min and max values from the two tables, and scale the internal x-values of the two tables to the new min and max value. Then y-values are interpolated from

, using an "x-column" as the range and computing

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 TableInterpolator
Inheritance
Object    TableInterpolator

Constructors

TableInterpolator Constructor, specifying the fraction

Properties

Fraction Interpolation fraction, between zero and one.
XTol Tolerance in x value for removing "near-duplicate" points in the x-axis. Set to zero to only remove exact duplicate points

Methods

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)
Initialize Set x-values of the two tables and create a new interpolated x axis.

The min and max values of the two tables are interpolated, and all inner x-values of the two tables are scaled into this new range and added. If two points are very close, only one is added.

InterpolateYValues Interpolate y values for the table
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

See Also