- java.lang.Object
-
- org.quantlib.CubicNaturalSpline
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class CubicNaturalSpline extends Object implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description protectedCubicNaturalSpline(long cPtr, boolean cMemoryOwn)CubicNaturalSpline(Array x, Array y)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()doublederivative(double x)doublederivative(double x, boolean extrapolate)protected voidfinalize()protected static longgetCPtr(CubicNaturalSpline obj)doublegetValue(double x)doublegetValue(double x, boolean allowExtrapolation)doubleprimitive(double x)doubleprimitive(double x, boolean extrapolate)doublesecondDerivative(double x)doublesecondDerivative(double x, boolean extrapolate)protected static longswigRelease(CubicNaturalSpline obj)
-
-
-
Field Detail
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Detail
-
CubicNaturalSpline
protected CubicNaturalSpline(long cPtr, boolean cMemoryOwn)
-
CubicNaturalSpline
public CubicNaturalSpline(Array x, Array y)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(CubicNaturalSpline obj)
-
swigRelease
protected static long swigRelease(CubicNaturalSpline 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)
-
derivative
public double derivative(double x, boolean extrapolate)
-
derivative
public double derivative(double x)
-
secondDerivative
public double secondDerivative(double x, boolean extrapolate)
-
secondDerivative
public double secondDerivative(double x)
-
primitive
public double primitive(double x, boolean extrapolate)
-
primitive
public double primitive(double x)
-
-