GearsBDFWithNordsieckStateInitialize(Double, Double, ActionDouble, Double, Double, MultiStepMethodBaseCalculateJacobian) Method |
Initializes this method.
Namespace: Altaxo.Calc.OdeAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public 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
- Calculation of the derivatives. First argument is x value, 2nd argument are the current y values. The 3rd argument is an array that store the derivatives.
- jacobianEvaluation MultiStepMethodBaseCalculateJacobian
- Calculation of the jacobian. If you provide a method, this method will be used to evaluate the jacobian. Else, if
no method is provided (null), the behavior depends on the further options: If IterationMethod is set to UseJacobian, then
the jacobian is approximated using finite differences. If IterationMethod 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