Click or drag to resize

LevenbergMarquardt2DJacobianTest Method (Double, VectorFunction, VectorFunction)

Calculates the 2-norm difference between the exact and the numeric jacobian, on an element-wise basis (not matrix norm, but element/vector norm)

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 double JacobianTest(
	double[] x,
	VectorFunction function,
	VectorFunction jacobian
)

Parameters

x
Type: SystemDouble
Point to evaluate jacobian at
function
Type: DHIMath.NumericsVectorFunction
Function to test
jacobian
Type: DHIMath.NumericsVectorFunction
Jacobian to test

Return Value

Type: Double
See Also