MathUtilInterpolateRowsInTable Method

Looks the argument, x, up in the rowheader, xTable, of a table, table. Hereby the row numbers used for the interpolation is determined. In case of an exact match the indexes are identical. No extrapolations is used which implicitly corresponds to the extraplation type 'Nearest'.

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 static double[] InterpolateRowsInTable(
	double x,
	double[] xTable,
	double[][] Table,
	ref int iLow,
	ref int iHigh
)

Parameters

x  Double
Argument used to look up in rowheader
xTable  Double
Row header of the table
Table  Double
The table
iLow  Int32
Low index in rowheader used for interpolation
iHigh  Int32
High index in rowheader used for interpolation

Return Value

Double

[Missing <returns> documentation for "M:DHI.Mike1D.Generic.MathUtil.InterpolateRowsInTable(System.Double,System.Double[],System.Double[][],System.Int32@,System.Int32@)"]

See Also