|
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.multivariate.MultiVariateTimeSeries.Iterator<MultiVariateRealization.Entry>
com.numericalmethod.suanshu.stats.timeseries.multivariate.realtime.MultiVariateRealization.Iterator
com.numericalmethod.suanshu.stats.stochasticprocess.multivariate.MultiVariateRealization.Iterator
public abstract static class MultiVariateRealization.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 | |
|---|---|
int |
d
the dimension of the Brownian motion |
| Fields inherited from class com.numericalmethod.suanshu.stats.timeseries.TimeSeries.Iterator |
|---|
length, pos, ts |
| Constructor Summary | |
|---|---|
MultiVariateRealization.Iterator(MultiVariateRealization Xt,
int d,
long seed)
Construct a realization of a multivariate stochastic process. |
|
| Method Summary | |
|---|---|
protected Vector |
dB(double dt)
|
MultiVariateRealization.Entry |
next()
Get the next entry in the time series, if any. |
Vector |
nextValue()
Get the next value in the time series. |
abstract double |
t(int pos)
Get the current timestamp of the realization. |
abstract Vector |
xt(int pos)
Get the current value of the realization. |
protected Vector |
Zt()
Get a d-dimension 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 |
| Field Detail |
|---|
public final int d
| Constructor Detail |
|---|
public MultiVariateRealization.Iterator(MultiVariateRealization Xt,
int d,
long seed)
Xt - a time seriesd - the dimension of the Brownian motionseed - 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 Vector xt(int pos)
pos - the index to the current Entry
public MultiVariateRealization.Entry next()
TimeSeries.Iterator
next in interface java.util.Iterator<MultiVariateRealization.Entry>next in class TimeSeries.Iterator<MultiVariateRealization.Entry>public Vector nextValue()
MultiVariateTimeSeries.Iterator
nextValue in class MultiVariateTimeSeries.Iterator<MultiVariateRealization.Entry>protected Vector Zt()
protected Vector 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 | |||||||