Integrates the ODE system from t to tEnd.
Namespace: Imsl.MathAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public virtual void Solve(
double t,
double tEnd,
double[] y
)
Public Overridable Sub Solve (
t As Double,
tEnd As Double,
y As Double()
)
public:
virtual void Solve(
double t,
double tEnd,
array<double>^ y
)
abstract Solve :
t : float *
tEnd : float *
y : float[] -> unit
override Solve :
t : float *
tEnd : float *
y : float[] -> unit
Parameters
- t
- Type: SystemDouble
A double specifying the independent variable.
- tEnd
- Type: SystemDouble
A double specifying the value of t at which the
solution is desired.
- y
- Type: SystemDouble
On input, a double array containing the initial values.
On output, a double array containing the approximate solution.
Exceptions Exception | Condition |
---|
DidNotConvergeException | 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.
|
MaxFcnEvalsExceededException | is thrown if the maximum number of function
evaluations allowed has been exceeded.
|
SingularMatrixException | is thrown if the factorization function
encounters a singular matrix during LU
decomposition.
|
Remarks
On all but the first call to Solve, the value of t must
equal the value of tEnd from the previous call.
See Also