Package jdistlib.math
Class IntegrationOptions
java.lang.Object
jdistlib.math.IntegrationOptions
Immutable options for hardened numerical integration.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder forIntegrationOptions.static enumWhere opt-in hardened callback evaluations execute.static enumAvailable integration strategies. -
Method Summary
Modifier and TypeMethodDescriptionstatic IntegrationOptions.Builderbuilder()Returns a builder initialized to R-compatible integration defaults.static IntegrationOptionsdefaults()Returns R-compatible QUADPACK defaults.doubledouble[]longPer-evaluation wall-clock limit, orLong.MAX_VALUEwhen disabled.intlongTotal wall-clock limit, orLong.MAX_VALUEwhen disabled.doubleintintReturns a builder initialized from this object.
-
Method Details
-
builder
Returns a builder initialized to R-compatible integration defaults. -
defaults
Returns R-compatible QUADPACK defaults. -
toBuilder
Returns a builder initialized from this object. -
getAbsoluteTolerance
public double getAbsoluteTolerance() -
getRelativeTolerance
public double getRelativeTolerance() -
getSubdivisions
public int getSubdivisions() -
getMaxEvaluations
public int getMaxEvaluations() -
getBreakpoints
public double[] getBreakpoints() -
getCancellation
-
getMethod
-
getTanhSinhMaxLevels
public int getTanhSinhMaxLevels() -
getMaxTotalNanos
public long getMaxTotalNanos()Total wall-clock limit, orLong.MAX_VALUEwhen disabled. -
getMaxCallbackNanos
public long getMaxCallbackNanos()Per-evaluation wall-clock limit, orLong.MAX_VALUEwhen disabled. -
getCallbackExecution
-