36
public BarrierOption(Barrier.Type barrierType, double barrier, double rebate, StochasticProcess process, Payoff payoff, Exercise exercise, PricingEngine engine) {
37
this(QuantLibJNI.new_BarrierOption__SWIG_0(barrierType.swigValue(), barrier, rebate, StochasticProcess.getCPtr(process), process, Payoff.getCPtr(payoff), payoff, Exercise.getCPtr(exercise), exercise, PricingEngine.getCPtr(engine), engine), true);
40
public BarrierOption(Barrier.Type barrierType, double barrier, double rebate, StochasticProcess process, Payoff payoff, Exercise exercise) {
41
this(QuantLibJNI.new_BarrierOption__SWIG_1(barrierType.swigValue(), barrier, rebate, StochasticProcess.getCPtr(process), process, Payoff.getCPtr(payoff), payoff, Exercise.getCPtr(exercise), exercise), true);
36
public BarrierOption(Barrier.Type barrierType, double barrier, double rebate, Payoff payoff, Exercise exercise) {
37
this(QuantLibJNI.new_BarrierOption(barrierType.swigValue(), barrier, rebate, Payoff.getCPtr(payoff), payoff, Exercise.getCPtr(exercise), exercise), true);
44
40
public double delta() {
73
69
return new SampledCurve(QuantLibJNI.BarrierOption_priceCurve(swigCPtr, this), true);
76
public double impliedVolatility(double targetValue, double accuracy, long maxEvaluations, double minVol, double maxVol) {
77
return QuantLibJNI.BarrierOption_impliedVolatility__SWIG_0(swigCPtr, this, targetValue, accuracy, maxEvaluations, minVol, maxVol);
80
public double impliedVolatility(double targetValue, double accuracy, long maxEvaluations, double minVol) {
81
return QuantLibJNI.BarrierOption_impliedVolatility__SWIG_1(swigCPtr, this, targetValue, accuracy, maxEvaluations, minVol);
84
public double impliedVolatility(double targetValue, double accuracy, long maxEvaluations) {
85
return QuantLibJNI.BarrierOption_impliedVolatility__SWIG_2(swigCPtr, this, targetValue, accuracy, maxEvaluations);
88
public double impliedVolatility(double targetValue, double accuracy) {
89
return QuantLibJNI.BarrierOption_impliedVolatility__SWIG_3(swigCPtr, this, targetValue, accuracy);
92
public double impliedVolatility(double targetValue) {
93
return QuantLibJNI.BarrierOption_impliedVolatility__SWIG_4(swigCPtr, this, targetValue);
72
public double impliedVolatility(double targetValue, GeneralizedBlackScholesProcess process, double accuracy, long maxEvaluations, double minVol, double maxVol) {
73
return QuantLibJNI.BarrierOption_impliedVolatility__SWIG_0(swigCPtr, this, targetValue, GeneralizedBlackScholesProcess.getCPtr(process), process, accuracy, maxEvaluations, minVol, maxVol);
76
public double impliedVolatility(double targetValue, GeneralizedBlackScholesProcess process, double accuracy, long maxEvaluations, double minVol) {
77
return QuantLibJNI.BarrierOption_impliedVolatility__SWIG_1(swigCPtr, this, targetValue, GeneralizedBlackScholesProcess.getCPtr(process), process, accuracy, maxEvaluations, minVol);
80
public double impliedVolatility(double targetValue, GeneralizedBlackScholesProcess process, double accuracy, long maxEvaluations) {
81
return QuantLibJNI.BarrierOption_impliedVolatility__SWIG_2(swigCPtr, this, targetValue, GeneralizedBlackScholesProcess.getCPtr(process), process, accuracy, maxEvaluations);
84
public double impliedVolatility(double targetValue, GeneralizedBlackScholesProcess process, double accuracy) {
85
return QuantLibJNI.BarrierOption_impliedVolatility__SWIG_3(swigCPtr, this, targetValue, GeneralizedBlackScholesProcess.getCPtr(process), process, accuracy);
88
public double impliedVolatility(double targetValue, GeneralizedBlackScholesProcess process) {
89
return QuantLibJNI.BarrierOption_impliedVolatility__SWIG_4(swigCPtr, this, targetValue, GeneralizedBlackScholesProcess.getCPtr(process), process);