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
,nl.tudelft.simulation.jstats.ode.DifferentialEquationInterface
,org.djutils.event.EventProducer
- Enclosing class:
- DifferentialEquationTest
class DifferentialEquationTest.ODE
extends nl.tudelft.simulation.jstats.ode.DifferentialEquation
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, nl.tudelft.simulation.jstats.ode.integrators.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, nl.tudelft.simulation.jstats.ode.integrators.NumericalIntegratorType integrationMethod) constructs a new Function.- Parameters:
stepSize
- the stepSizeintegrationMethod
- the methodOfIntegration
-
-
Method Details
-
dy
public double[] dy(double x, double[] y)
-