public class PsRandom
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
double[] |
binomialArray(double prob,
int nTrials,
int n) |
int[] |
bitArray(int arrayLength) |
double[] |
doubleArray(int arrayLength) |
double[] |
doubleArray(int arrayLength,
double top) |
double[] |
doubleArray(int arrayLength,
double bottom,
double top) |
double[] |
exponentialArray(double mu,
double sigma,
int n) |
double[] |
frechetArray(double mu,
double sigma,
double gamma,
int n) |
long |
getInitialSeed() |
int |
getMethodBinary() |
int |
getMethodDecimal() |
int |
getMethodInteger() |
long |
getSeed() |
static long |
getSerialVersionUID() |
int[] |
integerArray(int arrayLength,
int top) |
int[] |
integerArray(int arrayLength,
int bottom,
int top) |
static double |
logGamma(double x) |
double[] |
logisticArray(double mu,
double scale,
int n) |
double[] |
lorentzianArray(double mu,
double gamma,
int n) |
double[] |
maximalGumbelArray(double mu,
double sigma,
int n) |
double[] |
minimalGumbelArray(double mu,
double sigma,
int n) |
double |
nextBinomial(double prob,
int nTrials) |
int |
nextBit() |
int |
nextBitM1() |
int |
nextBitM2() |
double |
nextDouble() |
double |
nextDouble(double top) |
double |
nextDouble(double bottom,
double top) |
double |
nextExponential(double mu,
double sigma) |
double |
nextFrechet(double mu,
double sigma,
double gamma) |
double |
nextGaussian() |
double |
nextGaussian(double mean,
double sd) |
int |
nextInteger(int top) |
int |
nextInteger(int bottom,
int top) |
double |
nextLogistic(double mu,
double scale) |
double |
nextLorentzian(double mu,
double gamma) |
double |
nextMaximalGumbel(double mu,
double sigma) |
double |
nextMinimalGumbel(double mu,
double sigma) |
double |
nextNormal() |
double |
nextNormal(double mean,
double sd) |
double |
nextPareto(double alpha,
double beta) |
double |
nextPoissonian(double mean) |
double |
nextRayleigh(double sigma) |
double |
nextSquare(double top) |
double |
nextWeibull(double mu,
double sigma,
double gamma) |
int[] |
noRepeatIntegerArray(int arrayLength,
int bottom,
int top) |
double[] |
paretoArray(double alpha,
double beta,
int n) |
double |
parkMiller() |
double[] |
poissonianArray(double mean,
int n) |
double[] |
rayleighArray(double sigma,
int n) |
void |
setMethodBinary(int methodOpt) |
void |
setMethodDecimal(int methodOpt) |
void |
setMethodInteger(int methodOpt) |
void |
setSeed(long seed) |
int[] |
uniqueIntegerArray(int top) |
int[] |
uniqueIntegerArray(int bottom,
int top) |
double[] |
weibullArray(double mu,
double sigma,
double gamma,
int n) |
public void setSeed(long seed)
public long getInitialSeed()
public long getSeed()
public void setMethodDecimal(int methodOpt)
public int getMethodDecimal()
public void setMethodInteger(int methodOpt)
public int getMethodInteger()
public void setMethodBinary(int methodOpt)
public int getMethodBinary()
public double nextDouble()
public double nextDouble(double top)
public double nextSquare(double top)
public double nextDouble(double bottom, double top)
public double[] doubleArray(int arrayLength)
public double[] doubleArray(int arrayLength, double top)
public double[] doubleArray(int arrayLength, double bottom, double top)
public double parkMiller()
public int nextBit()
public int[] bitArray(int arrayLength)
public int nextBitM1()
public int nextBitM2()
public double nextGaussian(double mean, double sd)
public double nextGaussian()
public double nextNormal(double mean, double sd)
public double nextNormal()
public double nextLorentzian(double mu, double gamma)
public double[] lorentzianArray(double mu, double gamma, int n)
public double nextPoissonian(double mean)
public double[] poissonianArray(double mean, int n)
public double nextBinomial(double prob, int nTrials)
public double[] binomialArray(double prob, int nTrials, int n)
public double nextPareto(double alpha, double beta)
public double[] paretoArray(double alpha, double beta, int n)
public double nextExponential(double mu, double sigma)
public double[] exponentialArray(double mu, double sigma, int n)
public double nextRayleigh(double sigma)
public double[] rayleighArray(double sigma, int n)
public double nextMinimalGumbel(double mu, double sigma)
public double[] minimalGumbelArray(double mu, double sigma, int n)
public double nextMaximalGumbel(double mu, double sigma)
public double[] maximalGumbelArray(double mu, double sigma, int n)
public double nextFrechet(double mu, double sigma, double gamma)
public double[] frechetArray(double mu, double sigma, double gamma, int n)
public double nextWeibull(double mu, double sigma, double gamma)
public double[] weibullArray(double mu, double sigma, double gamma, int n)
public double nextLogistic(double mu, double scale)
public double[] logisticArray(double mu, double scale, int n)
public int nextInteger(int bottom, int top)
public int nextInteger(int top)
public int[] integerArray(int arrayLength, int top)
public int[] integerArray(int arrayLength, int bottom, int top)
public int[] noRepeatIntegerArray(int arrayLength, int bottom, int top)
public int[] uniqueIntegerArray(int bottom, int top)
public int[] uniqueIntegerArray(int top)
public static long getSerialVersionUID()
public static double logGamma(double x)
Copyright © , Biomedical Imaging Group, EPFL, Lausanne, Switzerland. All rights reserved.