public abstract class AbstractFourierTransformProduct extends Object implements CharacteristicFunction, FourierTransformProduct
| Constructor and Description |
|---|
AbstractFourierTransformProduct() |
| Modifier and Type | Method and Description |
|---|---|
abstract double |
getIntegrationDomainImagLowerBound()
Return the lower bound of the imaginary part of the domain where
the characteristic function can be integrated.
|
abstract double |
getIntegrationDomainImagUpperBound()
Return the upper bound of the imaginary part of the domain where
the characteristic function can be integrated.
|
abstract double |
getMaturity()
Return the maturity of the associated payoff.
|
double |
getValue(CharacteristicFunctionModel model)
This method returns the value random variable of the product within the specified model, evaluated at a given evalutationTime.
|
Double |
getValue(double evaluationTime,
Model model)
Return the valuation of the product using the given model.
|
Map<String,Object> |
getValues(double evaluationTime,
Model model)
Return the valuation of the product using the given model.
|
public Double getValue(double evaluationTime, Model model)
ProductgetValue in interface FourierTransformProductgetValue in interface ProductevaluationTime - The evaluation time as double. Cash flows prior and including this time are not considered.model - The model under which the product is valued.public Map<String,Object> getValues(double evaluationTime, Model model)
ProductgetValues in interface FourierTransformProductgetValues in interface ProductevaluationTime - The evaluation time as double. Cash flows prior and including this time are not considered.model - The model under which the product is valued.public double getValue(CharacteristicFunctionModel model) throws CalculationException
FourierTransformProductgetValue in interface FourierTransformProductmodel - The model used to price the product.CalculationException - Thrown if the valuation fails, specific cause may be available via the cause() method.public abstract double getMaturity()
FourierTransformProductgetMaturity in interface FourierTransformProductpublic abstract double getIntegrationDomainImagLowerBound()
FourierTransformProductgetIntegrationDomainImagLowerBound in interface FourierTransformProductpublic abstract double getIntegrationDomainImagUpperBound()
FourierTransformProductgetIntegrationDomainImagUpperBound in interface FourierTransformProductCopyright © 2019. All rights reserved.