Class TrapezoidIntegrator

    • Constructor Detail

      • TrapezoidIntegrator

        public TrapezoidIntegrator​(double relativeAccuracy,
                                   double absoluteAccuracy,
                                   int minimalIterationCount,
                                   int maximalIterationCount)
        Build a trapezoid 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 minimalIterationCount <= 0.
        NumberIsTooSmallException - if maximalIterationCount < minimalIterationCount. is lesser than or equal to the minimal number of iterations
        NumberIsTooLargeException - if maximalIterationCount > 30.
      • TrapezoidIntegrator

        public TrapezoidIntegrator​(int minimalIterationCount,
                                   int maximalIterationCount)
        Build a trapezoid integrator with given iteration counts.
        Parameters:
        minimalIterationCount - minimum number of iterations
        maximalIterationCount - maximum number of iterations
        Throws:
        NotStrictlyPositiveException - if minimalIterationCount <= 0.
        NumberIsTooSmallException - if maximalIterationCount < minimalIterationCount. is lesser than or equal to the minimal number of iterations
        NumberIsTooLargeException - if maximalIterationCount > 30.
      • TrapezoidIntegrator

        public TrapezoidIntegrator()
        Construct a trapezoid integrator with default settings.