Package jadex.common

Class SFunction

java.lang.Object
jadex.common.SFunction

public class SFunction extends Object
Static helper class for calculating statistical functions.
  • Constructor Details

    • SFunction

      public SFunction()
  • Method Details

    • mean

      public static double mean(Object numbers)
      Calculate the mean value.
      Parameters:
      numbers - The numbers (as some form of iterable element).
    • sum

      public static double sum(Object numbers)
      Calculate the sum of values.
      Parameters:
      numbers - The numbers (as some form of iterable element).