public class GammaProcessSymmetricalBridge extends GammaProcessBridge
path| Constructor and Description |
|---|
GammaProcessSymmetricalBridge(double s0,
double mu,
double nu,
GammaGen Ggen,
BetaSymmetricalGen BSgen)
Constructs a new GammaProcessSymmetricalBridge
with parameters
μ =
|
GammaProcessSymmetricalBridge(double s0,
double mu,
double nu,
RandomStream stream)
Constructs a new GammaProcessSymmetricalBridge
with parameters
μ =
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
generatePath()
Generates, returns and saves the path
{X(t0), X(t1),…, X(td)}.
|
double[] |
generatePath(double[] uniform01)
Generates, returns and saves the path
{X(t0), X(t1),…, X(td)}.
|
double |
nextObservation()
Generates and returns the next observation X(tj) of the stochastic process.
|
double |
nextObservation(double nextT)
Generates and returns the next observation at time
tj+1 =
|
resetStartProcess, setStreamgetMu, getNu, getStream, setParamsgeneratePath, getArrayMappingCounterToIndex, getCurrentObservation, getCurrentObservationIndex, getNbObservationTimes, getObservation, getObservationTimes, getPath, getSubpath, getX0, hasNextObservation, setObservationTimes, setObservationTimes, setX0public GammaProcessSymmetricalBridge(double s0,
double mu,
double nu,
RandomStream stream)
RandomStream stream.
Note that the same RandomStream
stream is used for the
GammaGen and for the
BetaSymmetricalGen
inluded in this class.public GammaProcessSymmetricalBridge(double s0,
double mu,
double nu,
GammaGen Ggen,
BetaSymmetricalGen BSgen)
RandomStream included in
the BetaSymmetricalGen
is sets to the one included in the
GammaGen to avoid confusion.
This RandomStream is then used to
generate all the random variables.public double nextObservation()
StochasticProcessnextObservation in class GammaProcessBridgepublic double nextObservation(double nextT)
GammaProcessnextObservation in class GammaProcessBridgepublic double[] generatePath()
GammaProcessRandomStream stream
or the RandomStream included
in the GammaGen Ggen.generatePath in class GammaProcessBridgepublic double[] generatePath(double[] uniform01)
GammaProcessRandomStream stream nor the
GammaGen Ggen. It
uses the vector of uniform random numbers U(0, 1) provided by the user
and generates the path by inversion. The vector uniform01 must be of
dimension d.generatePath in class GammaProcessBridgeTo submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.