GearsBDFWithNordsieckStateInitialize(Double, Double, ActionDouble, Double, Double, MultiStepMethodBaseCalculateJacobian) Method |
Initializes this method.
Namespace: Altaxo.Calc.OdeAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic GearsBDFWithNordsieckState Initialize(
double x0,
double[] y0,
Action<double, double[], double[]> f,
MultiStepMethodBaseCalculateJacobian? jacobianEvaluation
)
Parameters
- x0 Double
- The initial x value.
- y0 Double
- The initial y values.
- f ActionDouble, Double, Double
-
Evaluates the first derivative dy/dx.
The first argument is the x value, the second argument is the current y vector,
and the third argument is the destination array to store the derivatives.
- jacobianEvaluation MultiStepMethodBaseCalculateJacobian
-
Evaluates the Jacobian.
If provided, it is used to evaluate the Jacobian.
If , the behavior depends on the further options:
if IterationMethod is set to UseJacobian,
then the Jacobian is approximated using finite differences; if it is set to
DoNotUseJacobian, then only iteration (and not Newton-Raphson) is used to evaluate
y_next, which can take longer.
Return Value
GearsBDFWithNordsieckStateThis instance (for a convenient way to chain this method with sequence creation).
See Also