Class FxVolSurface.SmilePillar
java.lang.Object
com.quantfinlib.fx.FxVolSurface.SmilePillar
- Enclosing class:
FxVolSurface
One expiry's solved smile: absolute strikes and vols, low to high strike.
-
Constructor Summary
ConstructorsConstructorDescriptionSmilePillar(double expiryYears, double forward, double[] strikes, double[] vols) Creates the value; array and collection arguments are copied. -
Method Summary
Modifier and TypeMethodDescriptionbooleandoubleexpiryYears.doubleforward()forward.inthashCode()doublestrikes(int i) Elementiofstrikes.double[]A fresh copy ofstrikes.intLength ofstrikes.toString()doublevols(int i) Elementiofvols.double[]volsCopy()A fresh copy ofvols.intLength ofvols.
-
Constructor Details
-
SmilePillar
public SmilePillar(double expiryYears, double forward, double[] strikes, double[] vols) Creates the value; array and collection arguments are copied.
-
-
Method Details
-
expiryYears
public double expiryYears()expiryYears. -
forward
public double forward()forward. -
strikes
public double strikes(int i) Elementiofstrikes. -
strikesLength
public int strikesLength()Length ofstrikes. -
strikesCopy
public double[] strikesCopy()A fresh copy ofstrikes. -
vols
public double vols(int i) Elementiofvols. -
volsLength
public int volsLength()Length ofvols. -
volsCopy
public double[] volsCopy()A fresh copy ofvols. -
equals
-
hashCode
-
toString
-