Package org.drip.state.curve
Class BasisSplineDeterministicVolatility
java.lang.Object
org.drip.analytics.definition.NodeStructure
org.drip.state.volatility.VolatilityCurve
org.drip.state.curve.BasisSplineDeterministicVolatility
- All Implemented Interfaces:
Curve,LatentState
public class BasisSplineDeterministicVolatility extends VolatilityCurve
BasisSplineDeterministicVolatility extends the BasisSplineTermStructure for the specific case of
the Implementation of the Deterministic Volatility Term Structure.
| Module | Product Core Module |
| Library | Fixed Income Analytics |
| Project | Latent State Inference and Creation Utilities |
| Package | Basis Spline Based Latent States |
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description BasisSplineDeterministicVolatility(int epochDate, CustomLabel customLabel, java.lang.String currency, Span impliedVolatilitySpan)BasisSplineDeterministicVolatility Constructor -
Method Summary
Modifier and Type Method Description doubleimpliedVol(int date)Compute the Deterministic Implied Volatility at the Date Node from the Volatility Term Structuredoublenode(int date)Get the Market Node at the given Predictor OrdinatedoublenodeDerivative(int date, int order)Get the Market Node Derivative at the given Predictor Ordinatedoublevol(int date)Compute the Deterministic Implied Volatility at the Date Node from the Volatility Term StructureMethods inherited from class org.drip.state.volatility.VolatilityCurve
impliedVol, impliedVolMethods inherited from class org.drip.analytics.definition.NodeStructure
calibComp, currency, customTweakManifestMeasure, customTweakQuantificationMetric, epoch, label, manifestMeasure, node, node, nodeDerivative, nodeDerivative, parallelShiftManifestMeasure, parallelShiftQuantificationMetric, setCCIS, shiftManifestMeasureMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BasisSplineDeterministicVolatility
public BasisSplineDeterministicVolatility(int epochDate, CustomLabel customLabel, java.lang.String currency, Span impliedVolatilitySpan) throws java.lang.ExceptionBasisSplineDeterministicVolatility Constructor- Parameters:
epochDate- The Epoch DatecustomLabel- Latent State Labelcurrency- The CurrencyimpliedVolatilitySpan- The Implied Volatility Span- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-
-
Method Details
-
impliedVol
public double impliedVol(int date) throws java.lang.ExceptionDescription copied from class:VolatilityCurveCompute the Deterministic Implied Volatility at the Date Node from the Volatility Term Structure- Specified by:
impliedVolin classVolatilityCurve- Parameters:
date- The Date Node- Returns:
- The Deterministic Implied Volatility at the Date Node from the Volatility Term Structure
- Throws:
java.lang.Exception- Thrown if the Deterministic Implied Volatility cannot be computed
-
node
public double node(int date) throws java.lang.ExceptionDescription copied from class:NodeStructureGet the Market Node at the given Predictor Ordinate- Specified by:
nodein classNodeStructure- Parameters:
date- The Predictor Ordinate- Returns:
- The Node evaluated from the Term Structure
- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-
vol
public double vol(int date) throws java.lang.ExceptionDescription copied from class:VolatilityCurveCompute the Deterministic Implied Volatility at the Date Node from the Volatility Term Structure- Specified by:
volin classVolatilityCurve- Parameters:
date- The Date Node- Returns:
- The Deterministic Implied Volatility at the Date Node from the Volatility Term Structure
- Throws:
java.lang.Exception- Thrown if the Deterministic Implied Volatility cannot be computed
-
nodeDerivative
public double nodeDerivative(int date, int order) throws java.lang.ExceptionDescription copied from class:NodeStructureGet the Market Node Derivative at the given Predictor Ordinate- Specified by:
nodeDerivativein classNodeStructure- Parameters:
date- The Predictor Ordinateorder- Order of the Derivative- Returns:
- The Node Derivative evaluated from the Term Structure
- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-