public class FlatForwardRepoCurve extends ExplicitBootRepoCurve
LATENT_STATE_REPO, QUANTIFICATION_METRIC_REPO_RATE
Constructor and Description |
---|
FlatForwardRepoCurve(int iEpochDate,
Component comp,
int[] aiPillarDate,
double[] adblRepoForward)
FlatForwardRepoCurve 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 |
repo(int iDate)
Calculate the Repo Rate to the given Date
|
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
|
calibComp, component, currency, customTweakManifestMeasure, customTweakQuantificationMetric, epoch, label, manifestMeasure, parallelShiftManifestMeasure, parallelShiftQuantificationMetric, repo, repo, setCCIS, shiftManifestMeasure
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
calibComp, currency, epoch, label, manifestMeasure, setCCIS
customTweakManifestMeasure, customTweakQuantificationMetric, parallelShiftManifestMeasure, parallelShiftQuantificationMetric, shiftManifestMeasure
public FlatForwardRepoCurve(int iEpochDate, Component comp, int[] aiPillarDate, double[] adblRepoForward) throws java.lang.Exception
iEpochDate
- Epoch Datecomp
- The Repo ComponentaiPillarDate
- Array of Pillar DatesadblRepoForward
- Array of Repo Forward Ratesjava.lang.Exception
- Thrown if the Inputs are Invalidpublic double repo(int iDate) throws java.lang.Exception
RepoEstimator
iDate
- Datejava.lang.Exception
- Thrown if the Repo Rate cannot be calculatedpublic 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