|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.magnitude.core.Stats
public final class Stats
Statistical operations with Magnitude
objects.
Method Summary | |
---|---|
static Magnitude |
average(Magnitude[] magnitudes)
Returns the average of the specified Magnitude s. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Magnitude average(Magnitude[] magnitudes)
Magnitude
s.
magnitudes
- the Magnitude
s to calculate the average of.
Magnitude
s.
java.lang.NullPointerException
- if any item of the array is null
.
java.lang.IllegalArgumentException
- if any Magnitude
in the array has not the same
units as the others.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |