|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkylm.util.KylmMathUtils
public class KylmMathUtils
A collection of functions that handle functions regarding mathematics.
| Constructor Summary | |
|---|---|
KylmMathUtils()
|
|
| Method Summary | |
|---|---|
static float |
logAddition(float a,
float b)
Add two values (probabilities) that are in log format |
static float |
sum(float[] arr)
return the sum of a float array |
static int |
sum(int[] arr)
return the sum of an int array |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KylmMathUtils()
| Method Detail |
|---|
public static final float sum(float[] arr)
arr - the array
public static final int sum(int[] arr)
arr - the array
public static final float logAddition(float a,
float b)
a - The first valueb - The second value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||