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