Click or drag to resize

MathUtil.InterpolateRowsInTable 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'.

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static double[] InterpolateRowsInTable(
	double x,
	double[] xTable,
	double[][] Table,
	ref int iLow,
	ref int iHigh
)

Parameters

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

Return Value

Type:Double[]

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

See Also