Click or drag to resize

MathUtilInterpn Method (Double, Double, Double)

1-D linear interpolation (table lookup) Interpolates to find y, the value of the underlying function yTable at the point x. xTable must be a monoton increasing array of the same length as yTable.

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[] Interpn(
	double x,
	double[] xTable,
	double[,] yTable
)

Parameters

x
Type: SystemDouble
value where to look up
xTable
Type: SystemDouble
Monoton increasing vector of length n
yTable
Type: SystemDouble
vector of length n

Return Value

Type: Double
interpolated value (looked up value)
See Also