public interface IndependentIncrements
| Modifier and Type | Method and Description |
|---|---|
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.
|
default RandomVariable[] |
getIncrement(int timeIndex)
Return the increment for a given timeIndex.
|
RandomVariable |
getIncrement(int timeIndex,
int factor)
Return the increment for a given timeIndex and given factor.
|
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.
|
TimeDiscretization |
getTimeDiscretization()
Returns the time discretization used for this set of time-discrete Brownian increments.
|
default RandomVariable[] getIncrement(int timeIndex)
timeIndex - The time index (corresponding to the this class's time discretization)RandomVariable 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)TimeDiscretization getTimeDiscretization()
int getNumberOfFactors()
int getNumberOfPaths()
RandomVariable getRandomVariableForConstant(double value)
value - The constant value to be used for initialized the random variable.IndependentIncrements getCloneWithModifiedSeed(int seed)
seed - New value for the seed.IndependentIncrements getCloneWithModifiedTimeDiscretization(TimeDiscretization newTimeDiscretization)
newTimeDiscretization - New time discretizationCopyright © 2019. All rights reserved.