|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.essex.ia.util.MathFunctions
public final class MathFunctions
A final class with some mathmatical functions as static methods
| Constructor Summary | |
|---|---|
MathFunctions()
|
|
| Method Summary | |
|---|---|
static float |
normalize(float[] data)
Normalizes an array of floats ie/ sums up all the entries in the array, then divides each entry by this sum. |
| 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||