|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.stats.timeseries.TimeSeries.Iterator<E>
com.numericalmethod.suanshu.stats.timeseries.univariate.TimeSeries.Iterator<Realization.Entry>
com.numericalmethod.suanshu.stats.timeseries.univariate.realtime.Realization.Iterator
com.numericalmethod.suanshu.stats.stochasticprocess.univariate.Realization.Iterator
public abstract static class Realization.Iterator
This Iterator support lazy evaluation/generation of a realization from a stochastic process. For a given filtration, a stochastic process gives arise to a particular realization, which is a (deterministic) time series. A realization is therefore only created on demand. For example, we create a realization when an Iterator is constructed.
| Field Summary |
|---|
| Fields inherited from class com.numericalmethod.suanshu.stats.timeseries.TimeSeries.Iterator |
|---|
length, pos, ts |
| Constructor Summary | |
|---|---|
Realization.Iterator(Realization xt,
long seed)
Construct a realization of a univariate stochastic process. |
|
| Method Summary | |
|---|---|
protected double |
dB(double dt)
|
Realization.Entry |
next()
Get the next entry in the time series, if any. |
double |
nextValue()
Get the next value in the time series. |
abstract double |
t(int pos)
Get the current timestamp of the realization. |
abstract double |
xt(int pos)
Get the current value of the realization. |
protected double |
Zt()
Get a Gaussian innovation. |
| Methods inherited from class com.numericalmethod.suanshu.stats.timeseries.TimeSeries.Iterator |
|---|
hasNext, position, remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Realization.Iterator(Realization xt,
long seed)
xt - a time seriesseed - seeding the same seed gives arise to the same realization| Method Detail |
|---|
public abstract double t(int pos)
pos - the index to the current Entry
public abstract double xt(int pos)
pos - the index to the current Entry
public Realization.Entry next()
TimeSeries.Iterator
next in interface java.util.Iterator<Realization.Entry>next in class TimeSeries.Iterator<Realization.Entry>public double nextValue()
TimeSeries.Iterator
nextValue in class TimeSeries.Iterator<Realization.Entry>protected double Zt()
protected double dB(double dt)
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||