Class MidpointIntegrator

    • Constructor Detail

      • MidpointIntegrator

        public MidpointIntegrator​(double step)
        Simple constructor. Build a midpoint integrator with the given step.
        Parameters:
        step - integration step
    • Method Detail

      • getC

        public double[] getC()
        Get the time steps from Butcher array (without the first zero).
        Returns:
        time steps from Butcher array (without the first zero
      • getA

        public double[][] getA()
        Get the internal weights from Butcher array (without the first empty row).
        Returns:
        internal weights from Butcher array (without the first empty row)
      • getB

        public double[] getB()
        Get the external weights for the high order method from Butcher array.
        Returns:
        external weights for the high order method from Butcher array