- java.lang.Object
-
- org.quantlib.SegmentIntegral
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class SegmentIntegral extends Object implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description SegmentIntegral(long intervals)protectedSegmentIntegral(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doublecalculate(UnaryFunctionDelegate f, double a, double b)voiddelete()protected voidfinalize()protected static longgetCPtr(SegmentIntegral obj)protected static longswigRelease(SegmentIntegral obj)
-
-
-
Field Detail
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Detail
-
SegmentIntegral
protected SegmentIntegral(long cPtr, boolean cMemoryOwn)
-
SegmentIntegral
public SegmentIntegral(long intervals)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(SegmentIntegral obj)
-
swigRelease
protected static long swigRelease(SegmentIntegral obj)
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
calculate
public double calculate(UnaryFunctionDelegate f, double a, double b)
-
-