public AndreasenHugeVolatilityInterpl(CalibrationSet calibrationSet, QuoteHandle spot, YieldTermStructureHandle rTS, YieldTermStructureHandle qTS, AndreasenHugeVolatilityInterpl.InterpolationType interpolationType, AndreasenHugeVolatilityInterpl.CalibrationType calibrationType, uint nGridPoints) : this(NQuantLibcPINVOKE.new_AndreasenHugeVolatilityInterpl__SWIG_4(CalibrationSet.getCPtr(calibrationSet), QuoteHandle.getCPtr(spot), YieldTermStructureHandle.getCPtr(rTS), YieldTermStructureHandle.getCPtr(qTS), (int)interpolationType, (int)calibrationType, nGridPoints), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }
public AndreasenHugeVolatilityInterpl(CalibrationSet calibrationSet, QuoteHandle spot, YieldTermStructureHandle rTS, YieldTermStructureHandle qTS) : this(NQuantLibcPINVOKE.new_AndreasenHugeVolatilityInterpl__SWIG_7(CalibrationSet.getCPtr(calibrationSet), QuoteHandle.getCPtr(spot), YieldTermStructureHandle.getCPtr(rTS), YieldTermStructureHandle.getCPtr(qTS)), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }
public CalibrationSet(CalibrationSet other) : this(NQuantLibcPINVOKE.new_CalibrationSet__SWIG_1(CalibrationSet.getCPtr(other)), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }
public AndreasenHugeVolatilityInterpl(CalibrationSet calibrationSet, QuoteHandle spot, YieldTermStructureHandle rTS, YieldTermStructureHandle qTS, AndreasenHugeVolatilityInterpl.InterpolationType interpolationType, AndreasenHugeVolatilityInterpl.CalibrationType calibrationType, uint nGridPoints, double minStrike, double maxStrike, OptimizationMethod optimizationMethod, EndCriteria endCriteria) : this(NQuantLibcPINVOKE.new_AndreasenHugeVolatilityInterpl__SWIG_0(CalibrationSet.getCPtr(calibrationSet), QuoteHandle.getCPtr(spot), YieldTermStructureHandle.getCPtr(rTS), YieldTermStructureHandle.getCPtr(qTS), (int)interpolationType, (int)calibrationType, nGridPoints, minStrike, maxStrike, OptimizationMethod.getCPtr(optimizationMethod), EndCriteria.getCPtr(endCriteria)), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }
public CalibrationSetEnumerator(CalibrationSet collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, CalibrationSet values) { NQuantLibcPINVOKE.CalibrationSet_SetRange(swigCPtr, index, CalibrationSet.getCPtr(values)); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }
public static CalibrationSet Repeat(CalibrationPair value, int count) { global::System.IntPtr cPtr = NQuantLibcPINVOKE.CalibrationSet_Repeat(CalibrationPair.getCPtr(value), count); CalibrationSet ret = (cPtr == global::System.IntPtr.Zero) ? null : new CalibrationSet(cPtr, true); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public CalibrationSet GetRange(int index, int count) { global::System.IntPtr cPtr = NQuantLibcPINVOKE.CalibrationSet_GetRange(swigCPtr, index, count); CalibrationSet ret = (cPtr == global::System.IntPtr.Zero) ? null : new CalibrationSet(cPtr, true); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CalibrationSet obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }