Class MidPointIntegrator

    • Constructor Detail

      • MidPointIntegrator

        public MidPointIntegrator​(double relativeAccuracy,
                                  double absoluteAccuracy,
                                  int minimalIterationCount,
                                  int maximalIterationCount)
        Build a midpoint integrator with given accuracies and iterations counts.
        Parameters:
        relativeAccuracy - relative accuracy of the result
        absoluteAccuracy - absolute accuracy of the result
        minimalIterationCount - minimum number of iterations
        maximalIterationCount - maximum number of iterations
        Throws:
        NotStrictlyPositiveException - if minimal number of iterations is not strictly positive
        NumberIsTooSmallException - if maximal number of iterations is lesser than or equal to the minimal number of iterations
        NumberIsTooLargeException - if maximal number of iterations is greater than 39.
      • MidPointIntegrator

        public MidPointIntegrator​(int minimalIterationCount,
                                  int maximalIterationCount)
        Build a midpoint integrator with given iteration counts.
        Parameters:
        minimalIterationCount - minimum number of iterations
        maximalIterationCount - maximum number of iterations
        Throws:
        NotStrictlyPositiveException - if minimal number of iterations is not strictly positive
        NumberIsTooSmallException - if maximal number of iterations is lesser than or equal to the minimal number of iterations
        NumberIsTooLargeException - if maximal number of iterations is greater than 39.