public class MathFunctions extends Object
| Constructor and Description |
|---|
MathFunctions() |
| Modifier and Type | Method and Description |
|---|---|
static BigInteger |
chunk2Index(int chunkIndex,
int chunkSize) |
static double |
cohensKappaForDichotomy(long NumOf_A1_B1,
long NumOf_A1_B0,
long NumOf_A0_B1,
long NumOf_A0_B0) |
static double[] |
derivative(double[] a) |
static boolean[] |
findMaxima(double[] derivative,
double threshold) |
static boolean[] |
findSpikes(double[] derivative) |
static boolean[] |
findSpikes(double[] derivative,
double threshold) |
static List<Integer> |
findZeros(double[] points) |
static ArrayList<Integer> |
generateRandoms(int numberOfRandoms,
int min,
int max) |
static int[] |
generateSequence(int elements) |
static float |
incrementPerc(float perc,
float quantity,
int N) |
static boolean |
isIn(List<Integer> indexarray,
int index) |
static String |
kappaClassificationFleiss(double kappa) |
static String |
kappaClassificationLandisKoch(double kappa) |
static double[] |
logSubdivision(double start,
double end,
int numberOfParts) |
static void |
main(String[] args) |
static double |
mean(double[] p) |
static double[] |
points2Double(List<Point<? extends Number,? extends Number>> pointslist,
int seriesIndex,
int numbOfPoints) |
static double |
roundDecimal(double number,
int decimalposition) |
public static void main(String[] args)
args - public static double roundDecimal(double number,
int decimalposition)
public static float incrementPerc(float perc,
float 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)
public static double[] derivative(double[] a)
public static boolean[] findMaxima(double[] derivative,
double threshold)
public static boolean[] findSpikes(double[] derivative,
double threshold)
public static boolean[] findSpikes(double[] derivative)
public static double[] points2Double(List<Point<? extends Number,? extends Number>> pointslist, int seriesIndex, int numbOfPoints)
public static double[] logSubdivision(double start,
double end,
int numberOfParts)
public static double cohensKappaForDichotomy(long NumOf_A1_B1,
long NumOf_A1_B0,
long NumOf_A0_B1,
long NumOf_A0_B0)
public static String kappaClassificationLandisKoch(double kappa)
public static String kappaClassificationFleiss(double kappa)
Copyright © 2020. All Rights Reserved.