public double forwardRate(Date fixing, Date referenceDate, double y, SWIGTYPE_p_boost__shared_ptrT_IborIndex_t iborIdx) { double ret = NQuantLibcPINVOKE.Gaussian1dModel_forwardRate__SWIG_0(swigCPtr, Date.getCPtr(fixing), Date.getCPtr(referenceDate), y, SWIGTYPE_p_boost__shared_ptrT_IborIndex_t.getCPtr(iborIdx)); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_boost__shared_ptrT_IborIndex_t obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }