Class GridCreation


  • public final class GridCreation
    extends Object
    Utility class for grids creation.
    Since:
    2.1
    Author:
    Guylaine Prat
    • Method Detail

      • createLinearGrid

        public static double[] createLinearGrid​(double min,
                                                double max,
                                                int n)
        Create a linear grid between min and max value for a number n of points. TBN: no checks are performed here. Must be done by the calling method.
        Parameters:
        min - value for grid[0]
        max - value for grid[n-1]
        n - number of points
        Returns:
        the linear grid