1
/* ----------------------------------------------------------------------------
2
* This file was automatically generated by SWIG (http://www.swig.org).
5
* Do not make changes to this file unless you know what you are doing--modify
6
* the SWIG interface file instead.
7
* ----------------------------------------------------------------------------- */
11
public class MonotonicLogParabolic {
12
private long swigCPtr;
13
protected boolean swigCMemOwn;
15
protected MonotonicLogParabolic(long cPtr, boolean cMemoryOwn) {
16
swigCMemOwn = cMemoryOwn;
20
protected static long getCPtr(MonotonicLogParabolic obj) {
21
return (obj == null) ? 0 : obj.swigCPtr;
24
protected void finalize() {
28
public synchronized void delete() {
32
QuantLibJNI.delete_MonotonicLogParabolic(swigCPtr);
38
public MonotonicLogParabolic(Array x, Array y) {
39
this(QuantLibJNI.new_MonotonicLogParabolic(Array.getCPtr(x), x, Array.getCPtr(y), y), true);
42
public double getValue(double x, boolean allowExtrapolation) {
43
return QuantLibJNI.MonotonicLogParabolic_getValue__SWIG_0(swigCPtr, this, x, allowExtrapolation);
46
public double getValue(double x) {
47
return QuantLibJNI.MonotonicLogParabolic_getValue__SWIG_1(swigCPtr, this, x);
50
public double derivative(double x, boolean extrapolate) {
51
return QuantLibJNI.MonotonicLogParabolic_derivative__SWIG_0(swigCPtr, this, x, extrapolate);
54
public double derivative(double x) {
55
return QuantLibJNI.MonotonicLogParabolic_derivative__SWIG_1(swigCPtr, this, x);
58
public double secondDerivative(double x, boolean extrapolate) {
59
return QuantLibJNI.MonotonicLogParabolic_secondDerivative__SWIG_0(swigCPtr, this, x, extrapolate);
62
public double secondDerivative(double x) {
63
return QuantLibJNI.MonotonicLogParabolic_secondDerivative__SWIG_1(swigCPtr, this, x);
66
public double primitive(double x, boolean extrapolate) {
67
return QuantLibJNI.MonotonicLogParabolic_primitive__SWIG_0(swigCPtr, this, x, extrapolate);
70
public double primitive(double x) {
71
return QuantLibJNI.MonotonicLogParabolic_primitive__SWIG_1(swigCPtr, this, x);