public class FitterUtils
extends java.lang.Object
Constructor and Description |
---|
FitterUtils() |
Modifier and Type | Method and Description |
---|---|
static double |
ceil(double x,
double epsilon)
Computes the ceiling of a double with a
predefined precision
|
static double |
factMomentK(int[] data,
int k)
Computes the k-th factorial moment of the data trace
|
static double |
floor(double x,
double epsilon)
Computes the floor of a double with a
predefined precision
|
static double |
powerMomentK(double[] data,
int k)
Computes the k-th power moment of the data trace
|
static double |
sqrt(double x,
double epsilon)
Computes the square root of a double with a
predefined precision
|
public static double powerMomentK(double[] data, int k)
data
- data tracek
- power moment to be calculated (>= 1)public static double factMomentK(int[] data, int k)
data
- data tracek
- factorial moment to be calculated (>= 1)public static double floor(double x, double epsilon)
x
- epsilon
- precisionpublic static double ceil(double x, double epsilon)
x
- epsilon
- precisionpublic static double sqrt(double x, double epsilon)
x
- epsilon
- precision