Click or drag to resize

BroydenTryFindRootWithJacobianStep Method

Find a solution of the equation f(x)=0.

Namespace: Altaxo.Calc.RootFinding
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static bool TryFindRootWithJacobianStep(
	Func<double[], double[]> f,
	double[] initialGuess,
	double accuracy,
	int maxIterations,
	double jacobianStepSize,
	out double[] root
)

Parameters

f  FuncDouble, Double
The function to find roots from.
initialGuess  Double
Initial guess of the root.
accuracy  Double
Desired accuracy. The root will be refined until the accuracy or the maximum number of iterations is reached. Must be greater than 0.
maxIterations  Int32
Maximum number of iterations. Usually 100.
jacobianStepSize  Double
Relative step size for calculating the Jacobian matrix at first step.
root  Double
The root that was found, if any. Undefined if the function returns false.

Return Value

Boolean
True if a root with the specified accuracy was found, else false.
See Also