- java.lang.Object
-
- org.quantlib.Observable
-
- org.quantlib.LazyObject
-
- org.quantlib.Instrument
-
- org.quantlib.YoYInflationCapFloor
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
- Direct Known Subclasses:
YoYInflationCap,YoYInflationCollar,YoYInflationFloor
public class YoYInflationCapFloor extends Instrument implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classYoYInflationCapFloor.Type
-
Constructor Summary
Constructors Modifier Constructor Description protectedYoYInflationCapFloor(long cPtr, boolean cMemoryOwn)YoYInflationCapFloor(YoYInflationCapFloor.Type type, Leg yoyLeg, DoubleVector strikes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()protected static longgetCPtr(YoYInflationCapFloor obj)doubleimpliedVolatility(double price, YoYInflationTermStructureHandle curve, double guess)doubleimpliedVolatility(double price, YoYInflationTermStructureHandle curve, double guess, double accuracy)doubleimpliedVolatility(double price, YoYInflationTermStructureHandle curve, double guess, double accuracy, long maxEvaluations)doubleimpliedVolatility(double price, YoYInflationTermStructureHandle curve, double guess, double accuracy, long maxEvaluations, double minVol)doubleimpliedVolatility(double price, YoYInflationTermStructureHandle curve, double guess, double accuracy, long maxEvaluations, double minVol, double maxVol)DoubleVectoroptionletPrices()protected voidswigSetCMemOwn(boolean own)-
Methods inherited from class org.quantlib.Instrument
errorEstimate, getCPtr, isExpired, NPV, setPricingEngine
-
Methods inherited from class org.quantlib.LazyObject
alwaysForwardNotifications, forwardFirstNotificationOnly, forwardsAllNotifications, freeze, getCPtr, recalculate, unfreeze
-
Methods inherited from class org.quantlib.Observable
getCPtr
-
-
-
-
Constructor Detail
-
YoYInflationCapFloor
protected YoYInflationCapFloor(long cPtr, boolean cMemoryOwn)
-
YoYInflationCapFloor
public YoYInflationCapFloor(YoYInflationCapFloor.Type type, Leg yoyLeg, DoubleVector strikes)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(YoYInflationCapFloor obj)
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
- Overrides:
swigSetCMemOwnin classInstrument
-
finalize
protected void finalize()
- Overrides:
finalizein classInstrument
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable- Overrides:
deletein classInstrument
-
impliedVolatility
public double impliedVolatility(double price, YoYInflationTermStructureHandle curve, double guess, double accuracy, long maxEvaluations, double minVol, double maxVol)
-
impliedVolatility
public double impliedVolatility(double price, YoYInflationTermStructureHandle curve, double guess, double accuracy, long maxEvaluations, double minVol)
-
impliedVolatility
public double impliedVolatility(double price, YoYInflationTermStructureHandle curve, double guess, double accuracy, long maxEvaluations)
-
impliedVolatility
public double impliedVolatility(double price, YoYInflationTermStructureHandle curve, double guess, double accuracy)
-
impliedVolatility
public double impliedVolatility(double price, YoYInflationTermStructureHandle curve, double guess)
-
optionletPrices
public DoubleVector optionletPrices()
-
-