Click or drag to resize

MathUtilDerivative Method

Calculates the derivative of the yTable versus xTable at x. The xTable must be either monoton increasing or monoton decreasing array. The method applied when the argument is outside the interval corresponds to the exrapolationmethod.nearest, i.e derivative equals zero.

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 Derivative(
	double x,
	double[] tempXTable,
	double[] tempYTable,
	ExtrapolationTypes extrapolationType
)

Parameters

x
Type: SystemDouble
Lookup value
tempXTable
Type: SystemDouble
X Values values
tempYTable
Type: SystemDouble
Y values
extrapolationType
Type: DHI.Mike1D.GenericExtrapolationTypes
Extrapolation Type

Return Value

Type: Double

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

See Also