public class DiscountCurveRenormalized extends Object implements DiscountCurve, Serializable
| Constructor and Description |
|---|
DiscountCurveRenormalized(String name,
LocalDate referenceDate,
LocalDate spotDate,
String baseCurveName) |
| Modifier and Type | Method and Description |
|---|---|
DiscountCurveRenormalized |
clone()
Create a deep copied clone.
|
CurveBuilder |
getCloneBuilder()
Returns a curve builder bases on a clone of this curve.
|
Curve |
getCloneForParameter(double[] value)
Create a clone with a modified parameter.
|
double |
getDiscountFactor(AnalyticModel model,
double maturity)
Returns the discount factor for the corresponding maturity.
|
double |
getDiscountFactor(double maturity)
Returns the discount factor for the corresponding maturity.
|
String |
getName()
Get the name of the curve.
|
double[] |
getParameter()
Get the current parameter associated with the state of the objects.
|
LocalDate |
getReferenceDate()
Return the reference date of this curve, i.e. the date
associated with t=0.
|
double |
getValue(AnalyticModel model,
double time)
Returns the value for the time using the interpolation method associated with this curve
within a given context, i.e., a model.
|
double |
getValue(double time)
Returns the value for the time using the interpolation method associated with this curve.
|
void |
setParameter(double[] parameter)
Set the current parameter and change the state of the objects.
|
public LocalDate getReferenceDate()
CurvegetReferenceDate in interface Curvepublic double getValue(double time)
Curvepublic double getValue(AnalyticModel model, double time)
Curvepublic CurveBuilder getCloneBuilder()
CurvegetCloneBuilder in interface Curvepublic Curve getCloneForParameter(double[] value) throws CloneNotSupportedException
ParameterObjectgetCloneForParameter in interface ParameterObjectgetCloneForParameter in interface Curvevalue - The new parameter.CloneNotSupportedException - Thrown, when the curve could not be cloned.public double[] getParameter()
ParameterObjectgetParameter in interface ParameterObjectpublic void setParameter(double[] parameter)
ParameterObjectsetParameter in interface ParameterObjectparameter - The parameter associated with the new state of the objects.public double getDiscountFactor(double maturity)
DiscountCurvegetDiscountFactor in interface DiscountCurvematurity - The maturity for which the discount factor is requested.public double getDiscountFactor(AnalyticModel model, double maturity)
DiscountCurvegetDiscountFactor in interface DiscountCurvemodel - An analytic model providing a context. Some curves do not need this (can be null).maturity - The maturity for which the discount factor is requested.Copyright © 2019. All rights reserved.