org.opensourcephysics.numerics.dde_solvers.interpolation
Class InitialConditionData
java.lang.Object
org.opensourcephysics.numerics.dde_solvers.interpolation.IntervalData
org.opensourcephysics.numerics.dde_solvers.interpolation.InitialConditionData
public class InitialConditionData
- extends IntervalData
An IntervalData that return the initial conditions of a DDE
- Version:
- March 2011
- Author:
- Francisco Esquembre, Maria Jose Cano
Method Summary |
double[] |
interpolate(double time,
double[] state,
int beginIndex,
int length)
Returns the interpolation of the state at the given time only for the given indexes |
double |
interpolate(double time,
int index)
Returns the interpolation of one index of the state at the given time |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InitialConditionData
public InitialConditionData(DDE dde)
interpolate
public double interpolate(double time,
int index)
- Returns the interpolation of one index of the state at the given time
- Specified by:
interpolate
in class IntervalData
- Parameters:
time
- the time for the interpolation
interpolate
public double[] interpolate(double time,
double[] state,
int beginIndex,
int length)
- Returns the interpolation of the state at the given time only for the given indexes
- Specified by:
interpolate
in class IntervalData
- Parameters:
time
- the time for the interpolationstate
- a placeholder for the returned state