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

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

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #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);
        }
        public SampleNumber next()
        {
            SampleNumber ret = new SampleNumber(NQuantLibcPINVOKE.KnuthUniformRng_next(swigCPtr), true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #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;
 }
 public SampleNumber next() {
   SampleNumber ret = new SampleNumber(NQuantLibcPINVOKE.CentralLimitLecuyerGaussianRng_next(swigCPtr), true);
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #8
0
 public SampleNumber next() {
   SampleNumber ret = new SampleNumber(NQuantLibcPINVOKE.KnuthUniformRng_next(swigCPtr), true);
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #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);
 }
Example #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;
 }