- java.lang.Object
-
- org.quantlib.LinearInterpolation
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class LinearInterpolation extends Object implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description protectedLinearInterpolation(long cPtr, boolean cMemoryOwn)LinearInterpolation(Array x, Array y)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()protected static longgetCPtr(LinearInterpolation obj)doublegetValue(double x)doublegetValue(double x, boolean allowExtrapolation)protected static longswigRelease(LinearInterpolation obj)
-
-
-
Field Detail
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Detail
-
LinearInterpolation
protected LinearInterpolation(long cPtr, boolean cMemoryOwn)
-
LinearInterpolation
public LinearInterpolation(Array x, Array y)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(LinearInterpolation obj)
-
swigRelease
protected static long swigRelease(LinearInterpolation obj)
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
getValue
public double getValue(double x, boolean allowExtrapolation)
-
getValue
public double getValue(double x)
-
-