- java.lang.Object
-
- org.quantlib.FritschButlandCubic
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class FritschButlandCubic extends Object implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description protectedFritschButlandCubic(long cPtr, boolean cMemoryOwn)FritschButlandCubic(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(FritschButlandCubic 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(FritschButlandCubic obj)
-
-
-
Field Detail
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Detail
-
FritschButlandCubic
protected FritschButlandCubic(long cPtr, boolean cMemoryOwn)
-
FritschButlandCubic
public FritschButlandCubic(Array x, Array y)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(FritschButlandCubic obj)
-
swigRelease
protected static long swigRelease(FritschButlandCubic 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)
-
-