public interface ComplexOrdinaryDifferentialEquation
complex state
.OrdinaryDifferentialEquation
,
ComplexODEConverter
Modifier and Type | Method and Description |
---|---|
Complex[] |
computeDerivatives(double t,
Complex[] y)
Get the current time derivative of the state vector.
|
int |
getDimension()
Get the dimension of the problem.
|
default void |
init(double t0,
Complex[] y0,
double finalTime)
Initialize equations at the start of an ODE integration.
|
int getDimension()
default void init(double t0, Complex[] y0, double finalTime)
This method is called once at the start of the integration. It may be used by the equations to initialize some internal data if needed.
The default implementation does nothing.
t0
- value of the independent time variable at integration starty0
- array containing the value of the state vector at integration startfinalTime
- target time for the integrationCopyright © 2016-2021 CS GROUP. All rights reserved.