public class Notional extends Object implements AbstractNotional
| Constructor and Description |
|---|
Notional(double notional)
Creates a constant (non-stochastic) notional.
|
Notional(double notional,
String currency)
Creates a constant (non-stochastic) notional.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrency()
Returns the currency string of this notional.
|
RandomVariableInterface |
getNotionalAtPeriodEnd(AbstractPeriod period,
LIBORModelMonteCarloSimulationInterface model)
Calculates the notional at the end of a period, given a period.
|
RandomVariableInterface |
getNotionalAtPeriodStart(AbstractPeriod period,
LIBORModelMonteCarloSimulationInterface model)
Calculates the notional at the start of a period, given a period.
|
String |
toString() |
public Notional(double notional,
String currency)
notional - The constant notional value.currency - The currency.public Notional(double notional)
notional - The constant notional value.public String getCurrency()
AbstractNotionalgetCurrency in interface AbstractNotionalpublic RandomVariableInterface getNotionalAtPeriodEnd(AbstractPeriod period, LIBORModelMonteCarloSimulationInterface model)
AbstractNotionalgetNotionalAtPeriodEnd in interface AbstractNotionalperiod - Period.model - The model against we are evaluation.public RandomVariableInterface getNotionalAtPeriodStart(AbstractPeriod period, LIBORModelMonteCarloSimulationInterface model)
AbstractNotionalgetNotionalAtPeriodStart in interface AbstractNotionalperiod - Period.model - The model against we are evaluation.Copyright © 2017. All rights reserved.