public YYEUHICPXT(bool interpolated, YoYInflationTermStructureHandle h) : this(NQuantLibcPINVOKE.new_YYEUHICPXT__SWIG_0(interpolated, YoYInflationTermStructureHandle.getCPtr(h)), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
        public double impliedVolatility(double price, YoYInflationTermStructureHandle curve, double guess)
        {
            double ret = NQuantLibcPINVOKE.YoYInflationCapFloor_impliedVolatility__SWIG_4(swigCPtr, price, YoYInflationTermStructureHandle.getCPtr(curve), guess);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #3
0
        public double impliedVolatility(double price, YoYInflationTermStructureHandle curve, double guess, double accuracy, uint maxEvaluations, double minVol, double maxVol)
        {
            double ret = NQuantLibcPINVOKE.YoYInflationCapFloor_impliedVolatility__SWIG_0(swigCPtr, price, YoYInflationTermStructureHandle.getCPtr(curve), guess, accuracy, maxEvaluations, minVol, maxVol);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(YoYInflationTermStructureHandle obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemple #5
0
 public YYZACPI(bool interpolated, YoYInflationTermStructureHandle h) : this(NQuantLibcPINVOKE.new_YYZACPI__SWIG_0(interpolated, YoYInflationTermStructureHandle.getCPtr(h)), true) {
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
 }
Exemple #6
0
 public double impliedVolatility(double price, YoYInflationTermStructureHandle curve, double guess) {
   double ret = NQuantLibcPINVOKE.YoYInflationCapFloor_impliedVolatility__SWIG_4(swigCPtr, price, YoYInflationTermStructureHandle.getCPtr(curve), guess);
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemple #7
0
 public double impliedVolatility(double price, YoYInflationTermStructureHandle curve, double guess, double accuracy, uint maxEvaluations, double minVol) {
   double ret = NQuantLibcPINVOKE.YoYInflationCapFloor_impliedVolatility__SWIG_1(swigCPtr, price, YoYInflationTermStructureHandle.getCPtr(curve), guess, accuracy, maxEvaluations, minVol);
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(YoYInflationTermStructureHandle obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }