Class FxVolSurface.SmilePillar

java.lang.Object
com.quantfinlib.fx.FxVolSurface.SmilePillar
Enclosing class:
FxVolSurface

public static final class FxVolSurface.SmilePillar extends Object
One expiry's solved smile: absolute strikes and vols, low to high strike.
  • 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)
      Element i of strikes.
    • strikesLength

      public int strikesLength()
      Length of strikes.
    • strikesCopy

      public double[] strikesCopy()
      A fresh copy of strikes.
    • vols

      public double vols(int i)
      Element i of vols.
    • volsLength

      public int volsLength()
      Length of vols.
    • volsCopy

      public double[] volsCopy()
      A fresh copy of vols.
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object