Class GaussianMultiPathGenerator
QuantLib-Python's GaussianMultiPathGenerator: a MultiPathGenerator<TGsg> over Mersenne-Twister Gaussian sequences, MultiPathGenerator<GaussianRandomSequenceGenerator>.
public sealed class GaussianMultiPathGenerator : MultiPathGenerator<InverseCumulativeRsg<RandomSequenceGenerator<MersenneTwisterUniformRng>, InverseCumulativeNormal>>, IPathGenerator<MultiPath>
- Inheritance
-
MultiPathGenerator<InverseCumulativeRsg<RandomSequenceGenerator<MersenneTwisterUniformRng>, InverseCumulativeNormal>>GaussianMultiPathGenerator
- Implements
- Inherited Members
Remarks
A named class, a convenience; nanoql's own code uses the generic type.
Constructors
GaussianMultiPathGenerator(StochasticProcess, TimeGrid, InverseCumulativeRsg<RandomSequenceGenerator<MersenneTwisterUniformRng>, InverseCumulativeNormal>, bool)
Initializes a new instance of the GaussianMultiPathGenerator class.
public GaussianMultiPathGenerator(StochasticProcess process, TimeGrid times, InverseCumulativeRsg<RandomSequenceGenerator<MersenneTwisterUniformRng>, InverseCumulativeNormal> generator, bool brownianBridge = false)
Parameters
processStochasticProcessThe process.
timesTimeGridThe time grid, of at least two times.
generatorInverseCumulativeRsg<RandomSequenceGenerator<MersenneTwisterUniformRng>, InverseCumulativeNormal>The sequence generator, which the path generator copies.
brownianBridgeboolWhether a Brownian bridge orders the draws: not supported.
Methods
Clone()
A copy: the sequence generator copied deeply, so the two draw independently from here on.
public override GaussianMultiPathGenerator Clone()
Returns
- GaussianMultiPathGenerator
The copy.