public interface Curve
Modifier and Type | Method and Description |
---|---|
boolean |
bumpNodeValue(int iIndex,
double dblValue)
Bumped the node value at the node specified the index by the value
|
Curve |
createParallelShiftedCurve(double dblShift)
Creates a parallel quote shifted curve
|
Curve |
createTweakedCurve(NodeTweakParams ntp)
Creates the curve from the tweaked parameters
|
java.lang.String |
displayString()
Gets the display String - mostly for informational purposes
|
CalibratableComponent[] |
getCalibComponents()
Retrieves all the calibration components
|
double[] |
getCompQuotes()
Retrieves all the calibration quotes
|
java.lang.String |
getName()
Gets the curve name
|
JulianDate |
getNodeDate(int iIndex)
Gets the date at the node specified by the index
|
double |
getQuote(java.lang.String strInstr)
Retrieve the calibration quote of the given instrument
|
JulianDate |
getStartDate()
Gets the epoch date
|
boolean |
setFlatValue(double dblValue)
Sets the flat value across all the nodes
|
boolean |
setNodeValue(int iIndex,
double dblValue)
Sets the value at the node specified by the index
|
boolean setNodeValue(int iIndex, double dblValue)
iIndex
- node indexdblValue
- node valueboolean bumpNodeValue(int iIndex, double dblValue)
iIndex
- node indexdblValue
- node bump valueboolean setFlatValue(double dblValue)
dblValue
- node valuejava.lang.String displayString()
double[] getCompQuotes()
double getQuote(java.lang.String strInstr) throws java.lang.Exception
java.lang.Exception
JulianDate getNodeDate(int iIndex)
iIndex
- node indexCalibratableComponent[] getCalibComponents()
java.lang.String getName()
Curve createParallelShiftedCurve(double dblShift)
dblShift
- Parallel shiftCurve createTweakedCurve(NodeTweakParams ntp)
ntp
- Node Tweak ParametersJulianDate getStartDate()