Exemplo n.º 1
0
 public BatesEngine(BatesModel model, double relTolerance, uint maxEvaluations) : this(NQuantLibcPINVOKE.new_BatesEngine__SWIG_2(BatesModel.getCPtr(model), relTolerance, maxEvaluations), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public BatesEngine(BatesModel model, uint integrationOrder) : this(NQuantLibcPINVOKE.new_BatesEngine__SWIG_0(BatesModel.getCPtr(model), integrationOrder), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
 public BatesEngine(BatesModel model) : this(NQuantLibcPINVOKE.new_BatesEngine__SWIG_1(BatesModel.getCPtr(model)), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
 public FdBatesVanillaEngine(BatesModel model, uint tGrid) : this(NQuantLibcPINVOKE.new_FdBatesVanillaEngine__SWIG_3(BatesModel.getCPtr(model), tGrid), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public FdBatesVanillaEngine(BatesModel model, uint tGrid, uint xGrid, uint vGrid, uint dampingSteps, FdmSchemeDesc schemeDesc) : this(NQuantLibcPINVOKE.new_FdBatesVanillaEngine__SWIG_0(BatesModel.getCPtr(model), tGrid, xGrid, vGrid, dampingSteps, FdmSchemeDesc.getCPtr(schemeDesc)), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 6
0
 public BatesEngine(BatesModel model, double relTolerance, uint maxEvaluations) : this(NQuantLibcPINVOKE.new_BatesEngine__SWIG_2(BatesModel.getCPtr(model), relTolerance, maxEvaluations), true) {
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 7
0
 public BatesEngine(BatesModel model) : this(NQuantLibcPINVOKE.new_BatesEngine__SWIG_1(BatesModel.getCPtr(model)), true) {
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 8
0
 public BatesEngine(BatesModel model, uint integrationOrder) : this(NQuantLibcPINVOKE.new_BatesEngine__SWIG_0(BatesModel.getCPtr(model), integrationOrder), true) {
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 9
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(BatesModel obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
Exemplo n.º 10
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(BatesModel obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }