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