|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjphase.fit.FitterUtils
public class FitterUtils
This class contains a set of methods to make some usual calculations for the PhaseFitter classes
Constructor Summary | |
---|---|
FitterUtils()
|
Method Summary | |
---|---|
static double |
ceil(double x,
double epsilon)
Calculates the ceil of a double with a predefined precision |
static double |
factMomentK(int[] data,
int k)
Calculates the k-th factorial moment of the data trace |
static double |
floor(double x,
double epsilon)
Calculates the floor of a double with a predefined precision |
static double |
powerMomentK(double[] data,
int k)
Calculates the k-th power moment of the data trace |
static double |
sqrt(double x,
double epsilon)
Calculates the square root of a double with a predefined precision |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FitterUtils()
Method Detail |
---|
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
- precision
public static double ceil(double x, double epsilon)
x
- epsilon
- precision
public static double sqrt(double x, double epsilon)
x
- epsilon
- precision
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |