Class SimpsonIntegrator

    • Constructor Detail

      • SimpsonIntegrator

        public SimpsonIntegrator​(double relativeAccuracy,
                                 double absoluteAccuracy,
                                 int minimalIterationCount,
                                 int maximalIterationCount)
        Build a Simpson 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. It must be less than or equal to 30.
        Throws:
        NotStrictlyPositiveException - if minimalIterationCount <= 0.
        NumberIsTooSmallException - if maximalIterationCount < minimalIterationCount. is lesser than or equal to the minimal number of iterations
        NumberIsTooLargeException - if maximalIterationCount > 30.
      • SimpsonIntegrator

        public SimpsonIntegrator​(int minimalIterationCount,
                                 int maximalIterationCount)
        Build a Simpson integrator with given iteration counts.
        Parameters:
        minimalIterationCount - Minimum number of iterations.
        maximalIterationCount - Maximum number of iterations. It must be less than or equal to 30.
        Throws:
        NotStrictlyPositiveException - if minimalIterationCount <= 0.
        NumberIsTooSmallException - if maximalIterationCount < minimalIterationCount. is lesser than or equal to the minimal number of iterations
        NumberIsTooLargeException - if maximalIterationCount > 30.
      • SimpsonIntegrator

        public SimpsonIntegrator()
        Construct an integrator with default settings.