public abstract class GeometricLevyProcess extends StochasticProcess
GeometricNormalInverseGaussianProcess is
implemented as a child of this class
and so could GeometricVarianceGammaProcess
and GeometricBrownianMotion.
path| Constructor and Description |
|---|
GeometricLevyProcess() |
| Modifier and Type | Method and Description |
|---|---|
double[] |
generatePath()
Generates a path.
|
StochasticProcess |
getLevyProcess()
Returns the Lévy process.
|
double |
getMuGeom()
Returns the geometric drift parameter,
which is usually the interest rate, r.
|
double |
getOmega()
Returns the risk neutral correction.
|
RandomStream |
getStream()
Returns the stream from the underlying Lévy process.
|
double |
nextObservation()
Returns the next observation.
|
void |
resetRiskNeutralCorrection(double omegaRN)
Changes the value of
ωRN.
|
void |
resetStartProcess()
Resets the step counter of the geometric process and
the underlying Lévy process to the start value.
|
void |
setMuGeom(double muGeom)
Sets the drift parameter (interest rate) of the geometric term.
|
void |
setObservationTimes(double[] time,
int d)
Sets the observation times on the geometric process
and the underlying Lévy process.
|
void |
setStream(RandomStream stream)
Resets the stream in the underlying Lévy process.
|
generatePath, getArrayMappingCounterToIndex, getCurrentObservation, getCurrentObservationIndex, getNbObservationTimes, getObservation, getObservationTimes, getPath, getSubpath, getX0, hasNextObservation, setObservationTimes, setX0public double[] generatePath()
generatePath in class StochasticProcesspublic double nextObservation()
nextObservation in class StochasticProcesspublic void resetStartProcess()
resetStartProcess in class StochasticProcesspublic void setObservationTimes(double[] time,
int d)
setObservationTimes in class StochasticProcesspublic double getOmega()
public double getMuGeom()
public void setMuGeom(double muGeom)
public StochasticProcess getLevyProcess()
public void resetRiskNeutralCorrection(double omegaRN)
GeometricNormalInverseGaussianProcess.public RandomStream getStream()
getStream in class StochasticProcesspublic void setStream(RandomStream stream)
setStream in class StochasticProcessTo submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.