public InvCumulativeKnuthGaussianRsg(KnuthUniformRsg uniformSequenceGenerator) : this(NQuantLibcPINVOKE.new_InvCumulativeKnuthGaussianRsg(KnuthUniformRsg.getCPtr(uniformSequenceGenerator)), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public MoroInvCumulativeKnuthGaussianRsg(KnuthUniformRsg uniformSequenceGenerator, MoroInverseCumulativeNormal inverseCumulative) : this(NQuantLibcPINVOKE.new_MoroInvCumulativeKnuthGaussianRsg__SWIG_1(KnuthUniformRsg.getCPtr(uniformSequenceGenerator), MoroInverseCumulativeNormal.getCPtr(inverseCumulative)), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(KnuthUniformRsg obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
示例#4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(KnuthUniformRsg obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
 public MoroInvCumulativeKnuthGaussianRsg(KnuthUniformRsg uniformSequenceGenerator) : this(NQuantLibcPINVOKE.new_MoroInvCumulativeKnuthGaussianRsg(KnuthUniformRsg.getCPtr(uniformSequenceGenerator)), true) {
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
 }