Class ClassicalRungeKuttaFieldIntegrator<T extends RealFieldElement<T>>

    • Constructor Detail

      • ClassicalRungeKuttaFieldIntegrator

        public ClassicalRungeKuttaFieldIntegrator​(Field<T> field,
                                                  T step)
        Simple constructor. Build a fourth-order Runge-Kutta integrator with the given step.
        Parameters:
        field - field to which the time and state vector elements belong
        step - integration step
    • Method Detail

      • getC

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

        public T[][] 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 T[] getB()
        Get the external weights for the high order method from Butcher array.
        Returns:
        external weights for the high order method from Butcher array