Package jdistlib.math

Class IntegrationOptions

java.lang.Object
jdistlib.math.IntegrationOptions

public final class IntegrationOptions extends Object
Immutable options for hardened numerical integration.
  • Method Details

    • builder

      public static IntegrationOptions.Builder builder()
      Returns a builder initialized to R-compatible integration defaults.
    • defaults

      public static IntegrationOptions defaults()
      Returns R-compatible QUADPACK defaults.
    • toBuilder

      public IntegrationOptions.Builder 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

      public BooleanSupplier getCancellation()
    • getMethod

      public IntegrationOptions.Method getMethod()
    • getTanhSinhMaxLevels

      public int getTanhSinhMaxLevels()
    • getMaxTotalNanos

      public long getMaxTotalNanos()
      Total wall-clock limit, or Long.MAX_VALUE when disabled.
    • getMaxCallbackNanos

      public long getMaxCallbackNanos()
      Per-evaluation wall-clock limit, or Long.MAX_VALUE when disabled.
    • getCallbackExecution

      public IntegrationOptions.CallbackExecution getCallbackExecution()