public interface IndependentIncrementsInterface
Modifier and Type | Method and Description |
---|---|
IndependentIncrementsInterface |
getCloneWithModifiedSeed(int seed)
Return a new object implementing BrownianMotionInterface
having the same specifications as this object but a different seed
for the random number generator.
|
IndependentIncrementsInterface |
getCloneWithModifiedTimeDiscretization(TimeDiscretizationInterface newTimeDiscretization)
Return a new object implementing BrownianMotionInterface
having the same specifications as this object but a different
time discretization.
|
RandomVariableInterface |
getIncrement(int timeIndex,
int factor)
Return the increment for a given timeIndex.
|
int |
getNumberOfFactors()
Returns the number of factors.
|
int |
getNumberOfPaths()
Returns the number of paths.
|
RandomVariableInterface |
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 BrownianMotionInterface.
|
TimeDiscretizationInterface |
getTimeDiscretization()
Returns the time discretization used for this set of time-discrete Brownian increments.
|
RandomVariableInterface getIncrement(int timeIndex, int factor)
timeIndex
- The time index (corresponding to the this class's time discretization)factor
- The index of the factor (independent scalar increment)TimeDiscretizationInterface getTimeDiscretization()
int getNumberOfFactors()
int getNumberOfPaths()
RandomVariableInterface getRandomVariableForConstant(double value)
value
- The constant value to be used for initialized the random variable.IndependentIncrementsInterface getCloneWithModifiedSeed(int seed)
seed
- New value for the seed.IndependentIncrementsInterface getCloneWithModifiedTimeDiscretization(TimeDiscretizationInterface newTimeDiscretization)
newTimeDiscretization
- New time discretizationCopyright © 2015. All rights reserved.