Click or drag to resize

UtilCalcJacobian Method (Int32, VectorFunction, Double, Double, Double)

Calculates numerically the Jacobian

Namespace:  DHIMath.Numerics
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public static void CalcJacobian(
	int dimf,
	VectorFunction function,
	double[] x,
	double[] dfdx,
	double reldx
)

Parameters

dimf
Type: SystemInt32
Dimension of f vector
function
Type: DHIMath.NumericsVectorFunction
Function to calculate the Jacobian of
x
Type: SystemDouble
Point at which to calculate Jacobian
dfdx
Type: SystemDouble
Jacobian in column major format, must be of size dimx*dimf
reldx
Type: SystemDouble
Relative dx used in numerical gradient calculation
See Also