public class Operations extends Object
| Constructor and Description |
|---|
Operations() |
| Modifier and Type | Method and Description |
|---|---|
static double[] |
calcFrequencies(double[] interval,
double[] points) |
static int |
calcNumOfRepresentativeElements(int numberOfElements,
int minimumNumberToTake) |
static int |
chunkize(int numberOfElements,
int partitionFactor) |
static double |
getMax(double[] points) |
static int |
getMax(int[] points) |
static double |
getMin(double[] points) |
static int |
getMin(int[] points) |
static boolean |
intervalContainsPoints(double min,
double max,
double[] points) |
static double[] |
inverseParabol(double a,
double b,
double c,
double y) |
static double[] |
linearInterpolation(double el1,
double el2,
int intervals) |
static double |
logaritmicTransformation(double y) |
static void |
main(String[] args) |
static void |
main1(String[] args) |
static void |
main2(String[] args) |
static double[] |
normalizeFrequencies(double[] frequencies,
int numberOfPoints) |
static double[] |
parabolicInterpolation(double startP,
double endP,
int intervals) |
static double |
scalarProduct(double[] a,
double[] b) |
double[][] |
standardize(double[][] matrix) |
double[][] |
standardize(double[][] matrix,
double[] meansVec,
double[] variancesVec) |
static double |
sumVector(double[] a) |
static int[] |
takeChunks(int numberOfElements,
int partitionFactor) |
static double[] |
uniformDivide(double max,
double min,
double[] points) |
static int[] |
uniformIntegerSampling(double min,
double max,
int maxElementsToTake) |
static double[] |
uniformSampling(double min,
double max,
int maxElementsToTake) |
static double[] |
vectorialAbsoluteDifference(double[] a,
double[] b) |
static double[] |
vectorialDifference(double[] a,
double[] b) |
public static double scalarProduct(double[] a,
double[] b)
public static double sumVector(double[] a)
public static double[] vectorialDifference(double[] a,
double[] b)
public static double[] vectorialAbsoluteDifference(double[] a,
double[] b)
public static double getMax(double[] points)
public static int getMax(int[] points)
public static int getMin(int[] points)
public static double getMin(double[] points)
public static double[] calcFrequencies(double[] interval,
double[] points)
public static double[] normalizeFrequencies(double[] frequencies,
int numberOfPoints)
public static boolean intervalContainsPoints(double min,
double max,
double[] points)
public static double[] uniformDivide(double max,
double min,
double[] points)
public double[][] standardize(double[][] matrix)
public double[][] standardize(double[][] matrix,
double[] meansVec,
double[] variancesVec)
public static int calcNumOfRepresentativeElements(int numberOfElements,
int minimumNumberToTake)
public static double[] linearInterpolation(double el1,
double el2,
int intervals)
public static double[] inverseParabol(double a,
double b,
double c,
double y)
public static double logaritmicTransformation(double y)
public static double[] parabolicInterpolation(double startP,
double endP,
int intervals)
public static void main1(String[] args)
public static void main2(String[] args)
public static int[] takeChunks(int numberOfElements,
int partitionFactor)
public static int chunkize(int numberOfElements,
int partitionFactor)
public static double[] uniformSampling(double min,
double max,
int maxElementsToTake)
public static int[] uniformIntegerSampling(double min,
double max,
int maxElementsToTake)
public static void main(String[] args)
Copyright © 2020. All Rights Reserved.