Package me.wobblyyyy.pathfinder.math
Class Average
java.lang.Object
me.wobblyyyy.pathfinder.math.Average
public class Average
extends java.lang.Object
Math utility to get the average of a set of numbers.
- Since:
- 0.5.0
- Author:
- Colin Robertson
-
Constructor Summary
Constructors Constructor Description Average()
-
Method Summary
Modifier and Type Method Description static double
of(double... values)
Get the average of a set of values.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Average
public Average()
-
-
Method Details
-
of
public static double of(double... values)Get the average of a set of values.- Parameters:
values
- the values to get the average of.- Returns:
- the average of the provided values.
-