Package nl.tudelft.simulation.jstats.ode
Class DifferentialEquationTest.StiffODE
java.lang.Object
org.djutils.event.LocalEventProducer
nl.tudelft.simulation.jstats.ode.DifferentialEquation
nl.tudelft.simulation.jstats.ode.DifferentialEquationTest.StiffODE
- All Implemented Interfaces:
Serializable
,Remote
,DifferentialEquationInterface
,org.djutils.event.EventProducer
- Enclosing class:
- DifferentialEquationTest
Stiff 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
ConstructorDescriptionStiffODE
(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
-
StiffODE
StiffODE(double stepSize, NumericalIntegratorType integrationMethod) constructs a new Function.- Parameters:
stepSize
- the stepSizeintegrationMethod
- the methodOfIntegration
-
-
Method Details
-
dy
public double[] dy(double x, double[] y)
-