public class BrownianMotionPCAEqualSteps extends BrownianMotion
path| Constructor and Description |
|---|
BrownianMotionPCAEqualSteps(double x0,
double mu,
double sigma,
NormalGen gen)
Constructs a new BrownianMotionPCAEqualSteps.
|
BrownianMotionPCAEqualSteps(double x0,
double mu,
double sigma,
RandomStream stream)
Constructs a new BrownianMotionPCAEqualSteps.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
generatePath()
Generates, returns, and saves the sample path
{X(t0), X(t1),…, X(td)}.
|
double[] |
generatePath(double[] QMCpointsBM)
Same as generatePath(), but a vector of uniform random numbers
must be provided to the method.
|
double[] |
getSortedEigenvalues() |
double |
nextObservation()
Generates and returns the next observation X(tj) of the stochastic process.
|
void |
setObservationTimes(double[] t,
int d)
Sets the observation times of the process to a copy of T,
with t0 = T[0] and td = T[d].
|
void |
setObservationTimes(double dt,
int d)
Sets equidistant observation times at
tj = jδ, for
j = 0,..., d, and delta = δ.
|
generatePath, getGen, getMu, getSigma, getStream, nextObservation, nextObservation, setParams, setStreamgetArrayMappingCounterToIndex, getCurrentObservation, getCurrentObservationIndex, getNbObservationTimes, getObservation, getObservationTimes, getPath, getSubpath, getX0, hasNextObservation, resetStartProcess, setX0public BrownianMotionPCAEqualSteps(double x0,
double mu,
double sigma,
RandomStream stream)
public BrownianMotionPCAEqualSteps(double x0,
double mu,
double sigma,
NormalGen gen)
public double nextObservation()
StochasticProcessnextObservation in class BrownianMotionpublic double[] generatePath()
StochasticProcessgeneratePath in class BrownianMotionpublic double[] generatePath(double[] QMCpointsBM)
BrownianMotiongeneratePath in class BrownianMotionpublic void setObservationTimes(double[] t,
int d)
StochasticProcesssetObservationTimes in class StochasticProcesspublic void setObservationTimes(double dt,
int d)
StochasticProcesssetObservationTimes in class StochasticProcesspublic double[] getSortedEigenvalues()
To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.