Module net.finmath.lib
Class WorstOfExpressCertificate
- java.lang.Object
-
- net.finmath.montecarlo.hybridassetinterestrate.products.WorstOfExpressCertificate
-
-
Constructor Summary
Constructors Constructor Description WorstOfExpressCertificate(double maturity, double[] baseLevels, double[] exerciseDates, double[] triggerLevels, double[] redemption, double redemptionFinal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetValue(double evaluationTime, Model model)Return the valuation of the product using the given model.doublegetValue(double evaluationTime, HybridAssetLIBORModelMonteCarloSimulation model)
-
-
-
Method Detail
-
getValue
public Object getValue(double evaluationTime, Model model)
Description copied from interface:ProductReturn the valuation of the product using the given model. Implement this method using a checked cast of the model to a derived model for which the product provides a valuation algorithm. Example: an interest rate product requires that the passed model object implements the interface of an interest rate model. Since there is no polymorphism on arguments (see Double Dynamic Dispatch), we reply on a checked cast.
-
getValue
public double getValue(double evaluationTime, HybridAssetLIBORModelMonteCarloSimulation model) throws CalculationException- Throws:
CalculationException
-
-