Integrates the ODE system from x to xEnd.
double
specifying the independent variable. double
specifying the value of x at which the solution is desired. On input, double
array containing the initial values.
On output, double
array containing the approximate solution.
On all but the first call to solve, the value of x must equal the value of xEnd for the previous call.
Exception Type | Condition |
---|---|
MaxNumberStepsAllowedException | is thrown if the number of internal steps exceeds maxSteps (default 500) This can be an indication that the ODE system is stiff. This exception can also be thrown if the error tolerance condition could not be met. |
ToleranceTooSmallException | is thrown if the computation does not converge on some step |
OdeRungeKutta Class | Imsl.Math Namespace