Class EvenlySpacedGrid

    • Constructor Detail

      • EvenlySpacedGrid

        public EvenlySpacedGrid​(double T0,
                                double T,
                                int N)
        Construct an evenly spaced time grid.
        Parameters:
        T0 - the begin of the time interval
        T - the end of the time interval
        N - the number of time points, including the initial
    • Method Detail

      • size

        public int size()
        Description copied from interface: TimeGrid
        Get the number of time points.
        Specified by:
        size in interface TimeGrid
        Returns:
        the number of time points
      • T

        public double T()
        Get the end time.
        Returns:
        the end time