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.
|
RandomVariable |
getNotionalAtPeriodEnd(AbstractPeriod period,
LIBORModelMonteCarloSimulationModel model)
Calculates the notional at the end of a period, given a period.
|
RandomVariable |
getNotionalAtPeriodStart(AbstractPeriod period,
LIBORModelMonteCarloSimulationModel 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 RandomVariable getNotionalAtPeriodEnd(AbstractPeriod period, LIBORModelMonteCarloSimulationModel model)
AbstractNotionalgetNotionalAtPeriodEnd in interface AbstractNotionalperiod - Period.model - The model against we are evaluation.public RandomVariable getNotionalAtPeriodStart(AbstractPeriod period, LIBORModelMonteCarloSimulationModel model)
AbstractNotionalgetNotionalAtPeriodStart in interface AbstractNotionalperiod - Period.model - The model against we are evaluation.Copyright © 2019. All rights reserved.