Interface Histogram1D

    • Method Detail

      • fill

        int fill​(double x)
        Increment bin with abscissa X, Y, and Z by 1. if x is less than the low-edge of the first bin, the Underflow bin is incremented if x is equal to or greater than the upper edge of last bin, the Overflow bin is incremented The function returns the corresponding bin number which has its content incremented by 1
        Parameters:
        x - new value to be added
        Returns:
        corresponding bin number which has its content incremented by 1
      • fill

        int fill​(double x,
                 double w)
        Increment bin with abscissa X by with a weight w. if x is less than the low-edge of the first bin, the Underflow bin is incremented if x is equal to or greater than the upper edge of last bin, the Overflow bin is incremented The function returns the corresponding bin number which has its content incremented by 1
        Parameters:
        x - new value to be added
        w - weight
        Returns:
        corresponding bin number which has its content incremented by 1
      • fill

        int fill​(java.lang.String name)
        Increment bin with name with by 1. if x is less than the low-edge of the first bin, the Underflow bin is incremented if x is equal to or greater than the upper edge of last bin, the Overflow bin is incremented
        Parameters:
        name - name to be added
        Returns:
        corresponding bin number which has its content incremented by w
      • fill

        int fill​(java.lang.String name,
                 double w)
        Increment bin with name with a weight w. if x is less than the low-edge of the first bin, the Underflow bin is incremented if x is equal to or greater than the upper edge of last bin, the Overflow bin is incremented
        Parameters:
        name - name to be added
        w - weight for given name
        Returns:
        corresponding bin number which has its content incremented by w
      • fillN

        void fillN​(double[] x,
                   double[] w,
                   int stepSize)
        Fill this histogram with an array x and weights w.
        Parameters:
        x - x coordinates to be added.
        w - weights to be added.
        stepSize - step size through arrays x and w