net.finmath.montecarlo.interestrate.products.components
Interface AbstractNotional
-
- All Known Implementing Classes:
- Notional
public interface AbstractNotionalBase class for notional classes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.StringgetCurrency()Returns the currency string of this notional.RandomVariableInterfacegetNotionalAtPeriodEnd(AbstractPeriod period, LIBORModelMonteCarloSimulationInterface model)Calculates the notional at the end of a period, given a period.RandomVariableInterfacegetNotionalAtPeriodStart(AbstractPeriod period, LIBORModelMonteCarloSimulationInterface model)Calculates the notional at the start of a period, given a period.
-
-
-
Method Detail
-
getCurrency
java.lang.String getCurrency()
Returns the currency string of this notional.- Returns:
- the currency
-
getNotionalAtPeriodStart
RandomVariableInterface getNotionalAtPeriodStart(AbstractPeriod period, LIBORModelMonteCarloSimulationInterface model)
Calculates the notional at the start of a period, given a period. Example: The notional can be independent of the period (constant running notional) or depending on the period (accruing notional).- Parameters:
period- Period.model- The model against we are evaluation.- Returns:
- The notional for the given period as of period start.
-
getNotionalAtPeriodEnd
RandomVariableInterface getNotionalAtPeriodEnd(AbstractPeriod period, LIBORModelMonteCarloSimulationInterface model) throws CalculationException
Calculates the notional at the end of a period, given a period. Example: The notional can be independent of the period (constant running notional) or depending on the period (accruing notional).- Parameters:
period- Period.model- The model against we are evaluation.- Returns:
- The notional for the given period as of period end.
- Throws:
CalculationException- Thrown if the valuation fails, specific cause may be available via thecause()method.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG