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'.
Namespace:
DHI.Mike1D.Generic
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.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: SystemDouble
Argument used to look up in rowheader - xTable
- Type: SystemDouble
Row header of the table - Table
- Type: SystemDouble
The table - iLow
- Type: SystemInt32
Low index in rowheader used for interpolation - iHigh
- Type: SystemInt32
High index in rowheader used for interpolation
Return Value
Type:
DoubleSee Also