public class Zipf extends GenericDistribution
Constructor and Description |
---|
Zipf(int N,
double s) |
Modifier and Type | Method and Description |
---|---|
double |
cumulative(double p,
boolean lower_tail,
boolean log_p) |
static double |
cumulative(int x,
int N,
double s,
boolean lower_tail,
boolean log_p) |
double |
density(double x,
boolean log) |
static double |
density(int x,
int N,
double s,
boolean give_log) |
double |
quantile(double q,
boolean lower_tail,
boolean log_p) |
static double |
quantile(double p,
int N,
double s,
boolean lower_tail,
boolean log_p) |
double |
random() |
static double |
random(int N,
double s,
RandomEngine random) |
static double[] |
random(int n,
int N,
double s,
RandomEngine random) |
cumulative_hazard, cumulative_hazard, cumulative, cumulative, cumulative, density, density, getRandomEngine, hazard, hazard, inverse_survival, inverse_survival, quantile, quantile, quantile, random, random, setRandomEngine, survival, survival, survival
public static final double density(int x, int N, double s, boolean give_log)
public static final double cumulative(int x, int N, double s, boolean lower_tail, boolean log_p)
public static final double quantile(double p, int N, double s, boolean lower_tail, boolean log_p)
public static final double random(int N, double s, RandomEngine random)
public static final double[] random(int n, int N, double s, RandomEngine random)
public double density(double x, boolean log)
density
in class GenericDistribution
public double cumulative(double p, boolean lower_tail, boolean log_p)
cumulative
in class GenericDistribution
public double quantile(double q, boolean lower_tail, boolean log_p)
quantile
in class GenericDistribution
public double random()
random
in class GenericDistribution