Interface MultiCurrencyExposureSimulator.Curve
- Enclosing class:
MultiCurrencyExposureSimulator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A discount function
t -> P(0,t), t in years, P(0,0) = 1.-
Method Summary
Modifier and TypeMethodDescriptiondoublediscountFactor(double t) Discount factor to time t.of(DiscountCurve c) Adapter for a 2.1 multi-curveDiscountCurve(time in ACT/365F years).of(YieldCurve c) Adapter for aYieldCurve.
-
Method Details
-
discountFactor
double discountFactor(double t) Discount factor to time t.- Parameters:
t- years, > 0- Returns:
- P(0,t)
-
of
Adapter for aYieldCurve.- Parameters:
c- curve- Returns:
- the discount function
-
of
Adapter for a 2.1 multi-curveDiscountCurve(time in ACT/365F years).- Parameters:
c- curve- Returns:
- the discount function
-