org.gcube.contentmanagement.lexicalmatcher.utils
Class MathFunctions
java.lang.Object
org.gcube.contentmanagement.lexicalmatcher.utils.MathFunctions
public class MathFunctions
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MathFunctions
public MathFunctions()
main
public static void main(String[] args)
- Parameters:
args
-
incrementPerc
public static float incrementPerc(float perc,
float quantity,
int N)
incrementAvg
public static double incrementAvg(double perc,
double quantity,
int N)
generateRandoms
public static ArrayList<Integer> generateRandoms(int numberOfRandoms,
int min,
int max)
generateSequence
public static int[] generateSequence(int elements)
chunk2Index
public static BigInteger chunk2Index(int chunkIndex,
int chunkSize)
mean
public static double mean(double[] p)
Copyright © 2013. All Rights Reserved.