public class RandomWalk.Realization extends java.lang.Object implements Realization
Realization.IteratorRealization.Entry| Modifier and Type | Field and Description |
|---|---|
long |
id
the ID of this particular realization
|
double |
x0
the initial value of the realization
|
| Modifier and Type | Method and Description |
|---|---|
Realization.Iterator |
iterator() |
double |
lastValue()
Get the ending value of a realization,
i.e., the value at the end of the time interval, e.g., ω(T).
|
int |
size()
Get the length of the time series.
|
double[] |
toArray()
Convert this time series into an array, discarding the timestamps.
|
public final long id
public final double x0
public int size()
TimeSeriessize in interface TimeSeries<java.lang.Double,java.lang.Double,Realization.Entry>public Realization.Iterator iterator()
iterator in interface java.lang.Iterable<Realization.Entry>public double[] toArray()
TimeSeriespublic double lastValue()
Realization