public class ProcessEulerScheme extends AbstractProcess
numberOfComponents
here. The default for numberOfFactors
is 1.The interface definition contains more details.
Modifier and Type | Class and Description |
---|---|
static class |
ProcessEulerScheme.Scheme |
Constructor and Description |
---|
ProcessEulerScheme(BrownianMotionInterface brownianMotion)
Create an Euler discretization scheme.
|
ProcessEulerScheme(BrownianMotionInterface brownianMotion,
ProcessEulerScheme.Scheme scheme)
Create an Euler discretization scheme.
|
Modifier and Type | Method and Description |
---|---|
ProcessEulerScheme |
clone()
Create and return a clone of this process.
|
BrownianMotionInterface |
getBrownianMotion() |
Object |
getCloneWithModifiedSeed(int seed) |
RandomVariableInterface |
getMonteCarloWeights(int timeIndex)
This method returns the weights of a weighted Monte Carlo method (the probability density).
|
int |
getNumberOfFactors() |
int |
getNumberOfPaths() |
RandomVariableInterface |
getProcessValue(int timeIndex,
int componentIndex)
This method returns the realization of the process at a certain time index.
|
ProcessEulerScheme.Scheme |
getScheme() |
void |
setBrownianMotion(BrownianMotion brownianMotion)
Deprecated.
Do not use anymore. Processes should be immutable.
|
void |
setScheme(ProcessEulerScheme.Scheme scheme)
Deprecated.
Do not use anymore. Processes should be immutable.
|
void |
setSeed(int seed)
Deprecated.
The class will soon be changed to be immutable
|
applyStateSpaceTransform, getDrift, getFactorLoading, getInitialState, getNumberOfComponents, getTime, getTimeDiscretization, getTimeIndex, setModel
public ProcessEulerScheme(BrownianMotionInterface brownianMotion, ProcessEulerScheme.Scheme scheme)
brownianMotion
- The Brownian driver of the processscheme
- The scheme to use. See ProcessEulerScheme.Scheme
.public ProcessEulerScheme(BrownianMotionInterface brownianMotion)
brownianMotion
- The Brownian driver of the processpublic RandomVariableInterface getProcessValue(int timeIndex, int componentIndex)
timeIndex
- Time index at which the process should be observedcomponentIndex
- Component index of the processpublic RandomVariableInterface getMonteCarloWeights(int timeIndex)
timeIndex
- Time index at which the process should be observedpublic int getNumberOfPaths()
public int getNumberOfFactors()
@Deprecated public void setSeed(int seed)
seed
- The seed to set.public BrownianMotionInterface getBrownianMotion()
@Deprecated public void setBrownianMotion(BrownianMotion brownianMotion)
brownianMotion
- The brownianMotion to set.public ProcessEulerScheme.Scheme getScheme()
@Deprecated public void setScheme(ProcessEulerScheme.Scheme scheme)
scheme
- The scheme to set.public ProcessEulerScheme clone()
AbstractProcessInterface
clone
in interface AbstractProcessInterface
clone
in interface ProcessInterface
clone
in class AbstractProcess
public Object getCloneWithModifiedSeed(int seed)
getCloneWithModifiedSeed
in class AbstractProcess
Copyright © 2015. All rights reserved.