Package jadex.commons
Class SFunction
- java.lang.Object
-
- jadex.commons.SFunction
-
public class SFunction extends java.lang.Object
Static helper class for calculating statistical functions.
-
-
Constructor Summary
Constructors Constructor Description SFunction()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static double
mean(java.lang.Object numbers)
Calculate the mean value.static double
sum(java.lang.Object numbers)
Calculate the sum of values.
-
-
-
Method Detail
-
mean
public static double mean(java.lang.Object numbers)
Calculate the mean value.- Parameters:
numbers
- The numbers (as some form of iterable element).
-
sum
public static double sum(java.lang.Object numbers)
Calculate the sum of values.- Parameters:
numbers
- The numbers (as some form of iterable element).
-
-