@Deprecated public abstract class RandomUtils extends Object
Modifier and Type | Method and Description |
---|---|
static double |
calculateVariance(double sumOfValues,
double sumOfSquaredValues,
int numberOfValues)
Deprecated.
v48 Use
SampleSet.calculateVariance(double,double,int) instead |
static double |
erf(double arg)
Deprecated.
v48 Use
ErrorFunction.erf(double) instead |
static double |
erfc(double anArg)
Deprecated.
v48 Use
ErrorFunction.erfc(double) instead |
static double |
erfi(double arg)
Deprecated.
v48 Use
ErrorFunction.erfi(double) instead |
static double |
factorial(int aVal)
Deprecated.
v48 Use
CombinatorialFunctions.factorial(int) instead |
static double |
gamma(double arg)
Deprecated.
v48 Use
GammaFunction.gamma(double) instead |
static int |
partitions(int n,
int[] k)
Deprecated.
v48 Use
CombinatorialFunctions.partitions(int,int[]) instead |
static int |
permutations(int n)
Deprecated.
v48 Use
CombinatorialFunctions.permutations(int) instead |
static int |
subsets(int n,
int k)
Deprecated.
v48 Use
CombinatorialFunctions.subsets(int,int) instead |
static int |
variations(int n,
int k)
Deprecated.
v48 Use
CombinatorialFunctions.variations(int,int) instead |
@Deprecated public static double calculateVariance(double sumOfValues, double sumOfSquaredValues, int numberOfValues)
SampleSet.calculateVariance(double,double,int)
insteadsumOfValues
- The sum of all values in a sample setsumOfSquaredValues
- The sum of all squared values, in a sample setnumberOfValues
- The number of values in the sample set@Deprecated public static double erf(double arg)
ErrorFunction.erf(double)
instead@Deprecated public static double erfc(double anArg)
ErrorFunction.erfc(double)
instead@Deprecated public static double erfi(double arg)
ErrorFunction.erfi(double)
instead@Deprecated public static double factorial(int aVal)
CombinatorialFunctions.factorial(int)
instead@Deprecated public static double gamma(double arg)
GammaFunction.gamma(double)
instead@Deprecated public static int partitions(int n, int[] k)
CombinatorialFunctions.partitions(int,int[])
insteadn
- The number of elements in the setk
- A vector of subset sizes the sum of which must equal the size of the full set@Deprecated public static int permutations(int n)
CombinatorialFunctions.permutations(int)
insteadn
- The number of elements in the set@Deprecated public static int subsets(int n, int k)
CombinatorialFunctions.subsets(int,int)
insteadn
- The number of elements in the setk
- The number of elements in the subset@Deprecated public static int variations(int n, int k)
CombinatorialFunctions.variations(int,int)
insteadn
- The number of elements in the setk
- The size of the tupleCopyright © 2019 Optimatika. All rights reserved.