- java.lang.Object
-
- org.quantlib.GaussianRandomGenerator
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class GaussianRandomGenerator extends Object implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description protectedGaussianRandomGenerator(long cPtr, boolean cMemoryOwn)GaussianRandomGenerator(UniformRandomGenerator rng)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()protected static longgetCPtr(GaussianRandomGenerator obj)SampleNumbernext()doublenextValue()protected static longswigRelease(GaussianRandomGenerator obj)
-
-
-
Field Detail
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Detail
-
GaussianRandomGenerator
protected GaussianRandomGenerator(long cPtr, boolean cMemoryOwn)
-
GaussianRandomGenerator
public GaussianRandomGenerator(UniformRandomGenerator rng)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(GaussianRandomGenerator obj)
-
swigRelease
protected static long swigRelease(GaussianRandomGenerator obj)
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
next
public SampleNumber next()
-
nextValue
public double nextValue()
-
-