public SampleNumber next()
        {
            SampleNumber ret = new SampleNumber(NQuantLibcPINVOKE.BoxMullerLecuyerGaussianRng_next(swigCPtr), true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 2
0
        public SampleNumber next()
        {
            SampleNumber ret = new SampleNumber(NQuantLibcPINVOKE.CentralLimitMersenneTwisterGaussianRng_next(swigCPtr), true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 3
0
        public SampleNumber next()
        {
            SampleNumber ret = new SampleNumber(NQuantLibcPINVOKE.InvCumulativeKnuthGaussianRng_next(swigCPtr), true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public SampleNumber next()
        {
            SampleNumber ret = new SampleNumber(NQuantLibcPINVOKE.GaussianRandomGenerator_next(swigCPtr), true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 5
0
        public SampleNumber next()
        {
            SampleNumber ret = new SampleNumber(NQuantLibcPINVOKE.KnuthUniformRng_next(swigCPtr), true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SampleNumber obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
Ejemplo n.º 7
0
 public SampleNumber next() {
   SampleNumber ret = new SampleNumber(NQuantLibcPINVOKE.CentralLimitLecuyerGaussianRng_next(swigCPtr), true);
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Ejemplo n.º 8
0
 public SampleNumber next() {
   SampleNumber ret = new SampleNumber(NQuantLibcPINVOKE.KnuthUniformRng_next(swigCPtr), true);
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Ejemplo n.º 9
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SampleNumber obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Ejemplo n.º 10
0
 public SampleNumber next() {
   SampleNumber ret = new SampleNumber(NQuantLibcPINVOKE.GaussianRandomGenerator_next(swigCPtr), true);
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public SampleNumber next() {
   SampleNumber ret = new SampleNumber(NQuantLibcPINVOKE.MoroInvCumulativeMersenneTwisterGaussianRng_next(swigCPtr), true);
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }