public interface BrownianMotion extends IndependentIncrements
| Modifier and Type | Method and Description |
|---|---|
RandomVariable |
getBrownianIncrement(int timeIndex,
int factor)
Return the Brownian increment for a given timeIndex.
|
BrownianMotion |
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.
|
BrownianMotion |
getCloneWithModifiedTimeDiscretization(TimeDiscretization newTimeDiscretization)
Return a new object implementing BrownianMotion
having the same specifications as this object but a different
time discretization.
|
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.
|
getIncrement, getIncrementRandomVariable getBrownianIncrement(int timeIndex, int factor)
timeIndex - The time index (corresponding to the this class's time discretization).factor - The index of the factor (independent scalar Brownian increment).TimeDiscretization getTimeDiscretization()
getTimeDiscretization in interface IndependentIncrementsint getNumberOfFactors()
getNumberOfFactors in interface IndependentIncrementsint getNumberOfPaths()
getNumberOfPaths in interface IndependentIncrementsRandomVariable getRandomVariableForConstant(double value)
getRandomVariableForConstant in interface IndependentIncrementsvalue - The constant value to be used for initialized the random variable.BrownianMotion getCloneWithModifiedSeed(int seed)
getCloneWithModifiedSeed in interface IndependentIncrementsseed - New value for the seed.BrownianMotion getCloneWithModifiedTimeDiscretization(TimeDiscretization newTimeDiscretization)
getCloneWithModifiedTimeDiscretization in interface IndependentIncrementsnewTimeDiscretization - New time discretizationCopyright © 2019. All rights reserved.