public class FlatForwardVolatilityCurve extends ExplicitBootVolatilityCurve
Constructor and Description |
---|
FlatForwardVolatilityCurve(int iEpochDate,
VolatilityLabel label,
java.lang.String strCurrency,
int[] aiPillarDate,
double[] adblImpliedVolatility)
FlatForwardVolatilityCurve Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
bumpNodeValue(int iNodeIndex,
double dblValue)
Bump the node value at the node specified the index by the value
|
double |
impliedVol(int iDate)
Compute the Deterministic Implied Volatility at the Date Node from the Volatility Term Structure
|
double |
node(int iDate)
Get the Market Node at the given Predictor Ordinate
|
double |
nodeDerivative(int iDate,
int iOrder)
Get the Market Node Derivative at the given Predictor Ordinate
|
boolean |
setFlatValue(double dblValue)
Set the flat value across all the nodes
|
boolean |
setNodeValue(int iNodeIndex,
double dblValue)
Set the Value/Slope at the Node specified by the Index
|
double |
vol(int iDate)
Compute the Deterministic Implied Volatility at the Date Node from the Volatility Term Structure
|
impliedVol, impliedVol
calibComp, currency, customTweakManifestMeasure, customTweakQuantificationMetric, epoch, label, manifestMeasure, node, node, nodeDerivative, nodeDerivative, parallelShiftManifestMeasure, parallelShiftQuantificationMetric, setCCIS, shiftManifestMeasure
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
calibComp, currency, epoch, label, manifestMeasure, setCCIS
customTweakManifestMeasure, customTweakQuantificationMetric, parallelShiftManifestMeasure, parallelShiftQuantificationMetric, shiftManifestMeasure
public FlatForwardVolatilityCurve(int iEpochDate, VolatilityLabel label, java.lang.String strCurrency, int[] aiPillarDate, double[] adblImpliedVolatility) throws java.lang.Exception
iEpochDate
- Epoch Datelabel
- Volatility LabelstrCurrency
- CurrencyaiPillarDate
- Array of the Pillar DatesadblImpliedVolatility
- Array of the corresponding Implied Volatility Nodesjava.lang.Exception
- Thrown if the Inputs are Invalidpublic double impliedVol(int iDate) throws java.lang.Exception
VolatilityCurve
impliedVol
in class VolatilityCurve
iDate
- The Date Nodejava.lang.Exception
- Thrown if the Deterministic Implied Volatility cannot be computedpublic double node(int iDate) throws java.lang.Exception
NodeStructure
node
in class NodeStructure
iDate
- The Predictor Ordinatejava.lang.Exception
- Thrown if the Inputs are Invalidpublic double vol(int iDate) throws java.lang.Exception
VolatilityCurve
vol
in class VolatilityCurve
iDate
- The Date Nodejava.lang.Exception
- Thrown if the Deterministic Implied Volatility cannot be computedpublic double nodeDerivative(int iDate, int iOrder) throws java.lang.Exception
NodeStructure
nodeDerivative
in class NodeStructure
iDate
- The Predictor OrdinateiOrder
- Order of the Derivativejava.lang.Exception
- Thrown if the Inputs are Invalidpublic boolean setNodeValue(int iNodeIndex, double dblValue)
ExplicitBootCurve
iNodeIndex
- Node IndexdblValue
- Node Valuepublic boolean bumpNodeValue(int iNodeIndex, double dblValue)
ExplicitBootCurve
iNodeIndex
- node indexdblValue
- node bump valuepublic boolean setFlatValue(double dblValue)
ExplicitBootCurve
dblValue
- node value