Package nl.tudelft.simulation.jstats.ode
Class DifferentialEquationTest.ODE
java.lang.Object
org.djutils.event.LocalEventProducer
nl.tudelft.simulation.jstats.ode.DifferentialEquation
nl.tudelft.simulation.jstats.ode.DifferentialEquationTest.ODE
- All Implemented Interfaces:
Serializable
,Remote
,DifferentialEquationInterface
,org.djutils.event.EventProducer
- Enclosing class:
- DifferentialEquationTest
ODE.
-
Field Summary
Fields inherited from class nl.tudelft.simulation.jstats.ode.DifferentialEquation
lastX, lastY, stepSize
Fields inherited from interface org.djutils.event.EventProducer
FIRST_POSITION, LAST_POSITION
-
Constructor Summary
ConstructorDescriptionODE
(double stepSize, NumericalIntegratorType integrationMethod) constructs a new Function. -
Method Summary
Methods inherited from class nl.tudelft.simulation.jstats.ode.DifferentialEquation
getIntegrator, initialize, integrateY, setIntegrator, y
Methods inherited from class org.djutils.event.LocalEventProducer
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireUnverifiedEvent, fireUnverifiedEvent, fireUnverifiedTimedEvent, fireUnverifiedTimedEvent, getEventListenerMap, getEventTypesWithListeners, getListenerReferences, hasListeners, numberOfListeners, removeAllListeners, removeAllListeners, removeListener
-
Constructor Details
-
ODE
ODE(double stepSize, NumericalIntegratorType integrationMethod) constructs a new Function.- Parameters:
stepSize
- the stepSizeintegrationMethod
- the methodOfIntegration
-
-
Method Details
-
dy
public double[] dy(double x, double[] y)
-