public class RandomNumberGenerator extends Object
| Constructor and Description |
|---|
RandomNumberGenerator(RCaller rcaller) |
| Modifier and Type | Method and Description |
|---|---|
double[] |
randomBeta(int n,
double shape1,
double shape2) |
double[] |
randomBinom(int n,
int size,
double p) |
double[] |
randomCauchy(int n,
double location,
double scale) |
double[] |
randomChisqare(int n,
int df) |
double[] |
randomExponential(int n,
double theta) |
double[] |
randomF(int n,
int df1,
int df2) |
double[] |
randomGamma(int n,
double shape,
double rate,
double scale) |
double[] |
randomGeometric(int n,
double p) |
double[] |
randomHyperGeometric(int amount,
int n,
int m,
int k) |
double[] |
randomLogNormal(int n,
double logmean,
double logStandardDeviation) |
double[] |
randomMultinomial(int n,
int size,
double p) |
double[] |
randomNegativeBinom(int n,
int size,
double p) |
double[] |
randomNormal(int n,
double mean,
double standardDeviation) |
double[] |
randomPoisson(int n,
double lambda) |
double[] |
randomT(int n,
int df) |
double[] |
randomUniform(int n,
double min,
double max) |
double[] |
randomWeibull(int n,
double shape,
double scale) |
public RandomNumberGenerator(RCaller rcaller)
public double[] randomNormal(int n,
double mean,
double standardDeviation)
throws Exception
Exceptionpublic double[] randomLogNormal(int n,
double logmean,
double logStandardDeviation)
throws Exception
Exceptionpublic double[] randomUniform(int n,
double min,
double max)
throws Exception
Exceptionpublic double[] randomBeta(int n,
double shape1,
double shape2)
throws Exception
Exceptionpublic double[] randomCauchy(int n,
double location,
double scale)
throws Exception
Exceptionpublic double[] randomPoisson(int n,
double lambda)
throws Exception
Exceptionpublic double[] randomBinom(int n,
int size,
double p)
throws Exception
Exceptionpublic double[] randomNegativeBinom(int n,
int size,
double p)
throws Exception
Exceptionpublic double[] randomMultinomial(int n,
int size,
double p)
throws Exception
Exceptionpublic double[] randomWeibull(int n,
double shape,
double scale)
throws Exception
Exceptionpublic double[] randomHyperGeometric(int amount,
int n,
int m,
int k)
throws Exception
Exceptionpublic double[] randomExponential(int n,
double theta)
throws Exception
ExceptionCopyright © 2016. All rights reserved.