|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.essex.common.util.MathFunctions
public final class MathFunctions
A final class with some mathmatical functions as static methods
Constructor Summary | |
---|---|
MathFunctions()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] argStrings)
|
static float[] |
normalize(float[] data)
Normalizes an array of floats ie/ makes a resulting array whose elements sum up to 1. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MathFunctions()
Method Detail |
---|
public static float[] normalize(float[] data)
data
- - The array to noramalize
public static void main(java.lang.String[] argStrings)
argStrings
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |