public class VarianceGammaProcess extends Object implements IndependentIncrements, Serializable
| Constructor and Description |
|---|
VarianceGammaProcess(double sigma,
double nu,
double theta,
TimeDiscretization timeDiscretization,
int numberOfFactors,
int numberOfPaths,
int seed) |
| Modifier and Type | Method and Description |
|---|---|
BrownianMotion |
getBrownianMotion() |
IndependentIncrements |
getCloneWithModifiedSeed(int seed)
Return a new object implementing BrownianMotion
having the same specifications as this object but a different seed
for the random number generator.
|
IndependentIncrements |
getCloneWithModifiedTimeDiscretization(TimeDiscretization newTimeDiscretization)
Return a new object implementing BrownianMotion
having the same specifications as this object but a different
time discretization.
|
GammaProcess |
getGammaProcess() |
RandomVariable |
getIncrement(int timeIndex,
int factor)
Return the increment for a given timeIndex and given factor.
|
double |
getNu() |
int |
getNumberOfFactors()
Returns the number of factors.
|
int |
getNumberOfPaths()
Returns the number of paths.
|
RandomVariable |
getRandomVariableForConstant(double value)
Returns a random variable which is initialized to a constant,
but has exactly the same number of paths or discretization points as the ones used by this BrownianMotion.
|
double |
getSigma() |
double |
getTheta() |
TimeDiscretization |
getTimeDiscretization()
Returns the time discretization used for this set of time-discrete Brownian increments.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIncrementpublic VarianceGammaProcess(double sigma,
double nu,
double theta,
TimeDiscretization timeDiscretization,
int numberOfFactors,
int numberOfPaths,
int seed)
public RandomVariable getIncrement(int timeIndex, int factor)
IndependentIncrementsgetIncrement in interface IndependentIncrementstimeIndex - The time index (corresponding to the this class's time discretization)factor - The index of the factor (independent scalar increment)public double getSigma()
public double getNu()
public double getTheta()
public BrownianMotion getBrownianMotion()
public GammaProcess getGammaProcess()
public TimeDiscretization getTimeDiscretization()
IndependentIncrementsgetTimeDiscretization in interface IndependentIncrementspublic int getNumberOfFactors()
IndependentIncrementsgetNumberOfFactors in interface IndependentIncrementspublic int getNumberOfPaths()
IndependentIncrementsgetNumberOfPaths in interface IndependentIncrementspublic RandomVariable getRandomVariableForConstant(double value)
IndependentIncrementsgetRandomVariableForConstant in interface IndependentIncrementsvalue - The constant value to be used for initialized the random variable.public IndependentIncrements getCloneWithModifiedSeed(int seed)
IndependentIncrementsgetCloneWithModifiedSeed in interface IndependentIncrementsseed - New value for the seed.public IndependentIncrements getCloneWithModifiedTimeDiscretization(TimeDiscretization newTimeDiscretization)
IndependentIncrementsgetCloneWithModifiedTimeDiscretization in interface IndependentIncrementsnewTimeDiscretization - New time discretizationCopyright © 2019. All rights reserved.