Class AdaptiveCompositeIntegrator1D

  • All Implemented Interfaces:
    Integrator<Double,​Double,​Function<Double,​Double>>

    public class AdaptiveCompositeIntegrator1D
    extends Integrator1D<Double,​Double>
    Adaptive composite integrator: step size is set to be small if functional variation of integrand is large The integrator in individual intervals (base integrator) should be specified by constructor.
    • Constructor Detail

      • AdaptiveCompositeIntegrator1D

        public AdaptiveCompositeIntegrator1D​(Integrator1D<Double,​Double> integrator)
        Creates an instance.
        Parameters:
        integrator - The base integrator
      • AdaptiveCompositeIntegrator1D

        public AdaptiveCompositeIntegrator1D​(Integrator1D<Double,​Double> integrator,
                                             double gain,
                                             double tol)
        Creates an instance.
        Parameters:
        integrator - The base integrator.
        gain - The gain ratio
        tol - The tolerance