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.

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

Parameters

x  Double
Lookup value
xTable  Double
X Values values
yTable  Double
Y values
extrapolationType  ExtrapolationTypes
Extrapolation Type

Return Value

Double

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

See Also