Class InvCumulativeKnuthGaussianRng
QuantLib-Python's InvCumulativeKnuthGaussianRng: InverseCumulativeRng<TRng, TIc>
over KnuthUniformRng and InverseCumulativeNormal, standard Gaussian deviates.
[WorkingType]
public sealed class InvCumulativeKnuthGaussianRng : InverseCumulativeRng<KnuthUniformRng, InverseCumulativeNormal>, IRng
- Inheritance
-
InvCumulativeKnuthGaussianRng
- Implements
- Inherited Members
Remarks
A convenience name: nanoql's own code uses the generic type. A mutable working type, as its base is.
Constructors
InvCumulativeKnuthGaussianRng(KnuthUniformRng)
Initializes a new instance of the InvCumulativeKnuthGaussianRng class.
public InvCumulativeKnuthGaussianRng(KnuthUniformRng uniformGenerator)
Parameters
uniformGeneratorKnuthUniformRngThe uniform generator, which the generator copies.
Exceptions
- ArgumentNullException
uniformGeneratoris null.
Methods
Clone()
Copies the generator deeply, its uniform generator included: the copy's next draw equals this one's, and the two change apart.
public override InvCumulativeKnuthGaussianRng Clone()
Returns
- InvCumulativeKnuthGaussianRng
The copy.