|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object umontreal.iro.lecuyer.stochprocess.StochasticProcess umontreal.iro.lecuyer.stochprocess.BrownianMotion umontreal.iro.lecuyer.stochprocess.BrownianMotionPCA
public class BrownianMotionPCA
A Brownian motion process {X(t) : t >= 0} sampled using the principal component decomposition (PCA).
Constructor Summary | |
---|---|
BrownianMotionPCA(double x0,
double mu,
double sigma,
NormalGen gen)
Constructs a new BrownianMotionBridge with parameters μ = |
|
BrownianMotionPCA(double x0,
double mu,
double sigma,
RandomStream stream)
Constructs a new BrownianMotionBridge with parameters μ = |
Method Summary | |
---|---|
double[][] |
decompPCA(double[][] sigma)
|
double[] |
generatePath()
Generates, returns, and saves the sample path {X(t0), X(t1),…, X(td)}. |
double[] |
generatePath(double[] uniform01)
Same as generatePath(), but a vector of uniform random numbers must be provided to the method. |
double[] |
getSortedEigenvalues()
Returns the sorted eigenvalues obtained in the PCA decomposition. |
double |
nextObservation()
Generates and returns the next observation X(tj) of the stochastic process. |
void |
setParams(double x0,
double mu,
double sigma)
Resets the parameters X(t0) = |
Methods inherited from class umontreal.iro.lecuyer.stochprocess.BrownianMotion |
---|
generatePath, getGen, getMu, getSigma, getStream, nextObservation, nextObservation, setStream |
Methods inherited from class umontreal.iro.lecuyer.stochprocess.StochasticProcess |
---|
getArrayMappingCounterToIndex, getCurrentObservation, getCurrentObservationIndex, getNbObservationTimes, getObservation, getObservationTimes, getPath, getSubpath, getX0, hasNextObservation, resetStartProcess, setObservationTimes, setObservationTimes, setX0 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BrownianMotionPCA(double x0, double mu, double sigma, RandomStream stream)
public BrownianMotionPCA(double x0, double mu, double sigma, NormalGen gen)
Method Detail |
---|
public double nextObservation()
StochasticProcess
nextObservation
in class BrownianMotion
public void setParams(double x0, double mu, double sigma)
BrownianMotion
setParams
in class BrownianMotion
public double[] generatePath()
StochasticProcess
generatePath
in class BrownianMotion
public double[] generatePath(double[] uniform01)
BrownianMotion
generatePath
in class BrownianMotion
public double[][] decompPCA(double[][] sigma)
public double[] getSortedEigenvalues()
|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |