net.finmath.marketdata.calibration
Interface ParameterObjectInterface
-
- All Known Subinterfaces:
- CurveInterface, DiscountCurveInterface, ForwardCurveInterface
- All Known Implementing Classes:
- AbstractCurve, AbstractForwardCurve, AbstractVolatilitySurfaceParametric, CapletVolatilitiesParametric, Curve, CurveFromProductOfCurves, DiscountCurve, DiscountCurveFromForwardCurve, DiscountCurveFromProductOfCurves, DiscountCurveNelsonSiegelSvensson, ForwardCurve, ForwardCurveFromDiscountCurve, ForwardCurveNelsonSiegelSvensson, ForwardCurveWithFixings, IndexCurveFromDiscountCurve, ParameterAggregation, PiecewiseCurve, SeasonalCurve
public interface ParameterObjectInterfaceAn objects having a dependence on a parameter (double[]). The state of the objects is encoded in the parameter. It can be read or set. Note that the parameter may alter the state of multiple depending objects (e.g. referenced members).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method and Description ParameterObjectInterfacegetCloneForParameter(double[] value)Create a clone with a modified parameter.double[]getParameter()Get the current parameter associated with the state of the objects.voidsetParameter(double[] parameter)Deprecated.
-
-
-
Method Detail
-
getParameter
double[] getParameter()
Get the current parameter associated with the state of the objects.- Returns:
- The parameter.
-
getCloneForParameter
ParameterObjectInterface getCloneForParameter(double[] value) throws java.lang.CloneNotSupportedException
Create a clone with a modified parameter.- Parameters:
value- The new parameter.- Returns:
- A clone with an otherwise modified parameter.
- Throws:
java.lang.CloneNotSupportedException- Thrown, when the curve could not be cloned.
-
setParameter
@Deprecated void setParameter(double[] parameter)
Deprecated.Set the current parameter and change the state of the objects.- Parameters:
parameter- The parameter associated with the new state of the objects.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG