|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.contentmanagement.lexicalmatcher.utils.MathFunctions
public class MathFunctions
| Constructor Summary | |
|---|---|
MathFunctions()
|
|
| Method Summary | |
|---|---|
static BigInteger |
chunk2Index(int chunkIndex,
int chunkSize)
|
static ArrayList<Integer> |
generateRandoms(int numberOfRandoms,
int min,
int max)
|
static int[] |
generateSequence(int elements)
|
static double |
incrementAvg(double perc,
double quantity,
int N)
|
static float |
incrementPerc(float perc,
float quantity,
int N)
|
static void |
main(String[] args)
|
static double |
mean(double[] p)
|
| 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 void main(String[] args)
args -
public static float incrementPerc(float perc,
float quantity,
int N)
public static double incrementAvg(double perc,
double quantity,
int N)
public static ArrayList<Integer> generateRandoms(int numberOfRandoms,
int min,
int max)
public static int[] generateSequence(int elements)
public static BigInteger chunk2Index(int chunkIndex,
int chunkSize)
public static double mean(double[] p)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||