net.finmath.marketdata.products
Class AbstractAnalyticProduct
- java.lang.Object
-
- net.finmath.marketdata.products.AbstractAnalyticProduct
-
- All Implemented Interfaces:
- AnalyticProductInterface, ProductInterface
- Direct Known Subclasses:
- Cap, Cashflow, Forward, MarketForwardRateAgreement, Performance, Portfolio, Swap, SwapAnnuity, SwapLeg
public abstract class AbstractAnalyticProduct extends java.lang.Object implements AnalyticProductInterface
-
-
Constructor Summary
Constructors Constructor and Description AbstractAnalyticProduct()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublegetValue(AnalyticModelInterface model)java.lang.ObjectgetValue(double evaluationTime, ModelInterface model)Return the valuation of the product using the given model.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.finmath.marketdata.products.AnalyticProductInterface
getValue
-
-
-
-
Method Detail
-
getValue
public java.lang.Object getValue(double evaluationTime, ModelInterface model)Description copied from interface:ProductInterfaceReturn the valuation of the product using the given model.- Specified by:
getValuein interfaceProductInterface- Parameters:
evaluationTime- The evaluation time as double. Cash flows prior and including this time are not considered.model- The model under which the product is valued.- Returns:
- The value of the product using the given model.
-
getValue
public double getValue(AnalyticModelInterface model)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG