public class CurveFromProductOfCurves extends AbstractCurve implements Serializable, Curve
| Constructor and Description |
|---|
CurveFromProductOfCurves(String name,
LocalDate referenceDate,
Curve... curves)
Create a curve using one or more curves.
|
| Modifier and Type | Method and Description |
|---|---|
CurveBuilder |
getCloneBuilder()
Returns a curve builder bases on a clone of this curve.
|
double[] |
getParameter()
Get the current parameter associated with the state of the objects.
|
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.
|
void |
setParameter(double[] parameter)
Set the current parameter and change the state of the objects.
|
clone, getCloneForParameter, getName, getReferenceDate, getValue, getValues, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclone, getCloneForParameter, getName, getReferenceDate, getValuepublic double getValue(AnalyticModel model, double time)
Curvepublic 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 CurveBuilder getCloneBuilder() throws CloneNotSupportedException
CurvegetCloneBuilder in interface CurveCloneNotSupportedException - Thrown, when this curve could not be cloned.Copyright © 2019. All rights reserved.