public abstract static class Realization.Iterator extends java.lang.Object implements java.util.Iterator<Realization.Entry>, java.io.Serializable
| Constructor and Description |
|---|
Iterator(int size,
long seed)
Construct a realization of a univariate stochastic process.
|
| Modifier and Type | Method and Description |
|---|---|
protected double |
dB(double dt) |
boolean |
hasNext() |
Realization.Entry |
next() |
double |
nextValue() |
abstract double |
t(int index)
Get the current timestamp of the realization.
|
abstract double |
xt(int index)
Get the current value of the realization.
|
protected double |
Zt()
Get a Gaussian innovation.
|
public Iterator(int size,
long seed)
size - length of the time seriesseed - seeding the same seed gives arise to the same realizationpublic abstract double t(int index)
index - the index to the current Entrypublic abstract double xt(int index)
index - the index to the current Entrypublic boolean hasNext()
hasNext in interface java.util.Iterator<Realization.Entry>public Realization.Entry next()
next in interface java.util.Iterator<Realization.Entry>public double nextValue()
protected double Zt()
protected double dB(double dt)