public interface CurveInterface extends ParameterObjectInterface, Cloneable
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Create a deep copied clone.
|
CurveBuilderInterface |
getCloneBuilder()
Returns a curve builder bases on a clone of this curve.
|
CurveInterface |
getCloneForParameter(double[] value)
Create a clone with a modified parameter.
|
String |
getName()
Get the name of the curve.
|
java.time.LocalDate |
getReferenceDate()
Return the reference date of this curve, i.e. the date
associated with t=0.
|
double |
getValue(AnalyticModelInterface 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.
|
getParameter, setParameterString getName()
java.time.LocalDate getReferenceDate()
double getValue(double time)
time - Time for which the value should be returned.double getValue(AnalyticModelInterface model, double time)
model - An analytic model providing a context.time - Time for which the value should be returned.Object clone() throws CloneNotSupportedException
CloneNotSupportedException - Thrown, when the curve could not be cloned.CurveBuilderInterface getCloneBuilder() throws CloneNotSupportedException
CloneNotSupportedException - Thrown, when this curve could not be cloned.CurveInterface getCloneForParameter(double[] value) throws CloneNotSupportedException
ParameterObjectInterfacegetCloneForParameter in interface ParameterObjectInterfacevalue - The new parameter.CloneNotSupportedException - Thrown, when the curve could not be cloned.Copyright © 2017. All rights reserved.