public class EulerSchemeFromProcessModel extends MonteCarloProcessFromProcessModel
numberOfComponents
here. The default for numberOfFactors
is 1.The interface definition contains more details.
Modifier and Type | Class and Description |
---|---|
static class |
EulerSchemeFromProcessModel.Scheme |
Constructor and Description |
---|
EulerSchemeFromProcessModel(IndependentIncrements stochasticDriver)
Deprecated.
Will be removed. Instead use EulerSchemeFromProcessModel(ProcessModel, IndependentIncrements).
|
EulerSchemeFromProcessModel(IndependentIncrements stochasticDriver,
EulerSchemeFromProcessModel.Scheme scheme)
Deprecated.
Will be removed. Instead use EulerSchemeFromProcessModel(ProcessModel, IndependentIncrements, Scheme).
|
EulerSchemeFromProcessModel(ProcessModel model,
IndependentIncrements stochasticDriver)
Create an Euler discretization scheme.
|
EulerSchemeFromProcessModel(ProcessModel model,
IndependentIncrements stochasticDriver,
EulerSchemeFromProcessModel.Scheme scheme)
Create an Euler discretization scheme.
|
Modifier and Type | Method and Description |
---|---|
EulerSchemeFromProcessModel |
clone()
Create and return a clone of this process.
|
BrownianMotion |
getBrownianMotion() |
MonteCarloProcess |
getCloneWithModifiedData(Map<String,Object> dataModified)
Returns a clone of this model where the specified properties have been modified.
|
Object |
getCloneWithModifiedSeed(int seed) |
RandomVariable |
getMonteCarloWeights(int timeIndex)
This method returns the weights of a weighted Monte Carlo method (the probability density).
|
int |
getNumberOfFactors() |
int |
getNumberOfPaths() |
RandomVariable |
getProcessValue(int timeIndex,
int componentIndex)
This method returns the realization of the process at a certain time index.
|
EulerSchemeFromProcessModel.Scheme |
getScheme() |
IndependentIncrements |
getStochasticDriver() |
String |
toString() |
applyStateSpaceTransform, applyStateSpaceTransformInverse, getDrift, getFactorLoading, getInitialState, getModel, getNumberOfComponents, getTime, getTimeDiscretization, getTimeIndex, setModel
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCloneWithModifiedModel
getProcessValue
public EulerSchemeFromProcessModel(ProcessModel model, IndependentIncrements stochasticDriver, EulerSchemeFromProcessModel.Scheme scheme)
model
- The model (the SDE specifcation) used to generate the (sampling of the) stochastic process.stochasticDriver
- The stochastic driver of the process (e.g. a Brownian motion).scheme
- The scheme to use. See EulerSchemeFromProcessModel.Scheme
.public EulerSchemeFromProcessModel(ProcessModel model, IndependentIncrements stochasticDriver)
model
- The model (the SDE specifcation) used to generate the (sampling of the) stochastic process.stochasticDriver
- The stochastic driver of the process (e.g. a Brownian motion).@Deprecated public EulerSchemeFromProcessModel(IndependentIncrements stochasticDriver, EulerSchemeFromProcessModel.Scheme scheme)
stochasticDriver
- The stochastic driver of the process (e.g. a Brownian motion).scheme
- The scheme to use. See EulerSchemeFromProcessModel.Scheme
.@Deprecated public EulerSchemeFromProcessModel(IndependentIncrements stochasticDriver)
stochasticDriver
- The stochastic driver of the process (e.g. a Brownian motion).public RandomVariable getProcessValue(int timeIndex, int componentIndex)
timeIndex
- Time index at which the process should be observedcomponentIndex
- Component index of the process.public RandomVariable getMonteCarloWeights(int timeIndex)
timeIndex
- Time index at which the process should be observedpublic int getNumberOfPaths()
public int getNumberOfFactors()
public IndependentIncrements getStochasticDriver()
public BrownianMotion getBrownianMotion()
public EulerSchemeFromProcessModel.Scheme getScheme()
public EulerSchemeFromProcessModel clone()
MonteCarloProcess
clone
in interface MonteCarloProcess
clone
in interface Process
clone
in class MonteCarloProcessFromProcessModel
public MonteCarloProcess getCloneWithModifiedData(Map<String,Object> dataModified)
MonteCarloProcess
dataModified
. If data is provided which is ignored by the model
no exception may be thrown.dataModified
- Key-value-map of parameters to modify.public Object getCloneWithModifiedSeed(int seed)
getCloneWithModifiedSeed
in class MonteCarloProcessFromProcessModel
Copyright © 2020 finmath.net. All rights reserved.