Class MathUtil

java.lang.Object
ubic.basecode.math.MathUtil

public class MathUtil extends Object
Author:
pavlidis
  • Constructor Details

    • MathUtil

      public MathUtil()
  • Method Details

    • fillRange

      public static int[] fillRange(int a, int b)
      Create an array filled with the integer values from a to b, inclusive. Works if ainvalid input: '<'b, a>b 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.