- java.lang.Object
-
- org.quantlib.TrapezoidIntegralMidPoint
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class TrapezoidIntegralMidPoint extends Object implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description TrapezoidIntegralMidPoint(double accuracy, long maxIterations)protectedTrapezoidIntegralMidPoint(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(TrapezoidIntegralMidPoint obj)protected static longswigRelease(TrapezoidIntegralMidPoint obj)
-
-
-
Field Detail
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Detail
-
TrapezoidIntegralMidPoint
protected TrapezoidIntegralMidPoint(long cPtr, boolean cMemoryOwn)
-
TrapezoidIntegralMidPoint
public TrapezoidIntegralMidPoint(double accuracy, long maxIterations)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(TrapezoidIntegralMidPoint obj)
-
swigRelease
protected static long swigRelease(TrapezoidIntegralMidPoint obj)
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
calculate
public double calculate(UnaryFunctionDelegate f, double a, double b)
-
-