Class MathUtil


  • public class MathUtil
    extends Object
    Author:
    pavlidis
    • Constructor Detail

      • MathUtil

        public MathUtil()
    • Method Detail

      • fillRange

        public static int[] fillRange​(int a,
                                      int b)
        Create an array filled with the integer values from a to b, inclusive. Works if ab or a==b.
        Parameters:
        a -
        b -
        Returns:
      • max

        public static double max​(double[] qvaluethresholdsforhitlists)
      • sumArray

        public static int sumArray​(int[] array)
        Parameters:
        array - of integers
        Returns:
        The sum of the values in the array.