示例#1
0
 public HestonSLVMCModel(LocalVolTermStructure localVol, HestonModel model, BrownianGeneratorFactory brownianGeneratorFactory, Date endDate) : this(NQuantLibcPINVOKE.new_HestonSLVMCModel__SWIG_4(LocalVolTermStructure.getCPtr(localVol), HestonModel.getCPtr(model), BrownianGeneratorFactory.getCPtr(brownianGeneratorFactory), Date.getCPtr(endDate)), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public HestonSLVMCModel(LocalVolTermStructure localVol, HestonModel model, BrownianGeneratorFactory brownianGeneratorFactory, Date endDate, uint timeStepsPerYear, uint nBins, uint calibrationPaths) : this(NQuantLibcPINVOKE.new_HestonSLVMCModel__SWIG_1(LocalVolTermStructure.getCPtr(localVol), HestonModel.getCPtr(model), BrownianGeneratorFactory.getCPtr(brownianGeneratorFactory), Date.getCPtr(endDate), timeStepsPerYear, nBins, calibrationPaths), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(BrownianGeneratorFactory obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }