Module net.finmath.lib
Class TermStructureTenorTimeScalingPicewiseConstant
java.lang.Object
net.finmath.montecarlo.interestrate.models.covariance.TermStructureTenorTimeScalingPicewiseConstant
- All Implemented Interfaces:
TermStructureTenorTimeScaling
public class TermStructureTenorTimeScalingPicewiseConstant
extends Object
implements TermStructureTenorTimeScaling
- Version:
- 1.0
- Author:
- Christian Fries
-
Constructor Summary
ConstructorsConstructorDescriptionTermStructureTenorTimeScalingPicewiseConstant(TimeDiscretization timeDiscretization, double[] parameters) -
Method Summary
Modifier and TypeMethodDescriptionclone()getCloneWithModifiedParameters(double[] parameters)Create a new object constructed from a clone of this time scaling, where some parameters have been modified.double[]doublegetScaledTenorTime(double periodStart, double periodEnd)
-
Constructor Details
-
TermStructureTenorTimeScalingPicewiseConstant
public TermStructureTenorTimeScalingPicewiseConstant(TimeDiscretization timeDiscretization, double[] parameters)
-
-
Method Details
-
getScaledTenorTime
public double getScaledTenorTime(double periodStart, double periodEnd)- Specified by:
getScaledTenorTimein interfaceTermStructureTenorTimeScaling
-
getCloneWithModifiedParameters
Description copied from interface:TermStructureTenorTimeScalingCreate a new object constructed from a clone of this time scaling, where some parameters have been modified.- Specified by:
getCloneWithModifiedParametersin interfaceTermStructureTenorTimeScaling- Parameters:
parameters- The set of new parameters.- Returns:
- A new object constructed from a clone of this time scaling, where some parameters have been modified.
-
getParameter
public double[] getParameter()- Specified by:
getParameterin interfaceTermStructureTenorTimeScaling- Returns:
- The parameter set representing the state of this object.
-
clone
- Specified by:
clonein interfaceTermStructureTenorTimeScaling- Overrides:
clonein classObject- Returns:
- A clone of this object.
-