- java.lang.Object
-
- org.quantlib.Observable
-
- org.quantlib.TermStructure
-
- org.quantlib.VolatilityTermStructure
-
- org.quantlib.SwaptionVolatilityStructure
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
- Direct Known Subclasses:
ConstantSwaptionVolatility,SwaptionVolatilityDiscrete
public class SwaptionVolatilityStructure extends VolatilityTermStructure implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSwaptionVolatilityStructure(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleblackVariance(double start, double length, double strike)doubleblackVariance(double start, double length, double strike, boolean extrapolate)doubleblackVariance(Date start, Period length, double strike)doubleblackVariance(Date start, Period length, double strike, boolean extrapolate)voiddelete()protected voidfinalize()protected static longgetCPtr(SwaptionVolatilityStructure obj)DateoptionDateFromTenor(Period p)doubleshift(double optionTime, double swapLength)doubleshift(double optionTime, double swapLength, boolean extrapolate)doubleshift(double optionTime, Period swapTenor)doubleshift(double optionTime, Period swapTenor, boolean extrapolate)doubleshift(Date optionDate, double swapLength)doubleshift(Date optionDate, double swapLength, boolean extrapolate)doubleshift(Date optionDate, Period swapTenor)doubleshift(Date optionDate, Period swapTenor, boolean extrapolate)doubleshift(Period optionTenor, double swapLength)doubleshift(Period optionTenor, double swapLength, boolean extrapolate)doubleshift(Period optionTenor, Period swapTenor)doubleshift(Period optionTenor, Period swapTenor, boolean extrapolate)SmileSectionsmileSection(double optionTime, double swapLength)SmileSectionsmileSection(double optionTime, double swapLength, boolean extr)SmileSectionsmileSection(double optionTime, Period swapTenor)SmileSectionsmileSection(double optionTime, Period swapTenor, boolean extr)SmileSectionsmileSection(Date optionDate, double swapLength)SmileSectionsmileSection(Date optionDate, double swapLength, boolean extr)SmileSectionsmileSection(Date optionDate, Period swapTenor)SmileSectionsmileSection(Date optionDate, Period swapTenor, boolean extr)SmileSectionsmileSection(Period optionTenor, double swapLength)SmileSectionsmileSection(Period optionTenor, double swapLength, boolean extr)SmileSectionsmileSection(Period optionTenor, Period swapTenor)SmileSectionsmileSection(Period optionTenor, Period swapTenor, boolean extr)protected voidswigSetCMemOwn(boolean own)doublevolatility(double start, double length, double strike)doublevolatility(double start, double length, double strike, boolean extrapolate)doublevolatility(Date start, Period length, double strike)doublevolatility(Date start, Period length, double strike, boolean extrapolate)-
Methods inherited from class org.quantlib.VolatilityTermStructure
getCPtr, maxStrike, minStrike
-
Methods inherited from class org.quantlib.TermStructure
allowsExtrapolation, calendar, dayCounter, disableExtrapolation, enableExtrapolation, getCPtr, maxDate, maxTime, referenceDate, timeFromReference
-
Methods inherited from class org.quantlib.Observable
getCPtr
-
-
-
-
Constructor Detail
-
SwaptionVolatilityStructure
protected SwaptionVolatilityStructure(long cPtr, boolean cMemoryOwn)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(SwaptionVolatilityStructure obj)
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
- Overrides:
swigSetCMemOwnin classVolatilityTermStructure
-
finalize
protected void finalize()
- Overrides:
finalizein classVolatilityTermStructure
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable- Overrides:
deletein classVolatilityTermStructure
-
volatility
public double volatility(Date start, Period length, double strike, boolean extrapolate)
-
volatility
public double volatility(Date start, Period length, double strike)
-
volatility
public double volatility(double start, double length, double strike, boolean extrapolate)
-
volatility
public double volatility(double start, double length, double strike)
-
blackVariance
public double blackVariance(Date start, Period length, double strike, boolean extrapolate)
-
blackVariance
public double blackVariance(Date start, Period length, double strike)
-
blackVariance
public double blackVariance(double start, double length, double strike, boolean extrapolate)
-
blackVariance
public double blackVariance(double start, double length, double strike)
-
optionDateFromTenor
public Date optionDateFromTenor(Period p)
-
shift
public double shift(double optionTime, double swapLength, boolean extrapolate)
-
shift
public double shift(double optionTime, double swapLength)
-
smileSection
public SmileSection smileSection(Period optionTenor, Period swapTenor, boolean extr)
-
smileSection
public SmileSection smileSection(Period optionTenor, Period swapTenor)
-
smileSection
public SmileSection smileSection(Date optionDate, Period swapTenor, boolean extr)
-
smileSection
public SmileSection smileSection(Date optionDate, Period swapTenor)
-
smileSection
public SmileSection smileSection(double optionTime, Period swapTenor, boolean extr)
-
smileSection
public SmileSection smileSection(double optionTime, Period swapTenor)
-
smileSection
public SmileSection smileSection(Period optionTenor, double swapLength, boolean extr)
-
smileSection
public SmileSection smileSection(Period optionTenor, double swapLength)
-
smileSection
public SmileSection smileSection(Date optionDate, double swapLength, boolean extr)
-
smileSection
public SmileSection smileSection(Date optionDate, double swapLength)
-
smileSection
public SmileSection smileSection(double optionTime, double swapLength, boolean extr)
-
smileSection
public SmileSection smileSection(double optionTime, double swapLength)
-
-