Module net.finmath.lib
Class WorstOfExpressCertificate
java.lang.Object
net.finmath.montecarlo.hybridassetinterestrate.products.WorstOfExpressCertificate
- All Implemented Interfaces:
Product
- Version:
- 1.0
- Author:
- Christian Fries
-
Constructor Summary
ConstructorsConstructorDescriptionWorstOfExpressCertificate(double maturity, double[] baseLevels, double[] exerciseDates, double[] triggerLevels, double[] redemption, double redemptionFinal)
-
Method Summary
Modifier and TypeMethodDescriptionReturn the valuation of the product using the given model.double
getValue(double evaluationTime, HybridAssetLIBORModelMonteCarloSimulation model)
-
Constructor Details
-
WorstOfExpressCertificate
public WorstOfExpressCertificate(double maturity, double[] baseLevels, double[] exerciseDates, double[] triggerLevels, double[] redemption, double redemptionFinal)
-
-
Method Details
-
getValue
Description copied from interface:Product
Return 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
-