Macros | |
#define | M_PI 3.14159265358979323846 /* pi */ |
#define | M_SQRT2 1.41421356237309504880 |
#define | M_SQRT_2PI 2.5066282746310002416123552393401042 |
#define | M_LOG_SQRT_2PI 0.9189385332046726695409688545623794 |
#define | BETA_CF_MIN 1e-100 |
#define | __SQRT_2_PI 2.506628274631000241612355 |
#define | LEVMAX 10 |
#define | M_1_SQRTPI 0.564189583547756279280349644978 |
#define | M_SQRT2PI 2.506628274631000241612355239340 |
Functions | |
int | __maxidx (double *data, int size) |
double | __max (double *data, int size) |
double | __min (double *data, int size) |
double | ipow (double val, int expo) |
double | unifrnd () |
double | gamma (double a) |
double | gammaln (double a) |
double | incgammaln_lower (double x, double a) |
double | gammaincln (double x, double a) |
double | gammainc (double x, double a) |
double | beta (double alpha, double beta) |
double | betaln (double alpha, double beta) |
double | __beta_cf (double a, double b, double x) |
double | betainc (double x, double alpha, double beta) |
double | choose (double n, double r) |
double | chooseln (double n, double r) |
double | factorial (double n) |
double | factorialln (double n) |
double | gampdf (double x, double alpha, double beta) |
double | gamcdf (double x, double alpha, double beta) |
double | betapdf (double x, double alpha, double beta) |
double | chi2pdf (double x, int df) |
double | chi2cdf (double x, int df) |
double | fpdf (double x, int df1, int df2) |
double | fcdf (double x, int df1, int df2) |
double | tpdf (double x, int df) |
double | tcdf (double x, int df) |
double | binopdf (int x, int n, double p) |
double | binocdf (int x, int n, double p) |
int | binornd (int n, double p) |
double | poisspdf (int x, double lambda) |
double | poisscdf (int x, double lambda) |
int | poissrnd (double lambda) |
double | exppdf (double x, double mu) |
double | exprnd (double mu) |
double | raylpdf (double x, double b) |
double | normpdf (double x, double mu, double sigma) |
double | normrnd (double mu, double sigma) |
double | quad8_stdnormal_pdf (double a, double b, double Q) |
double | stdnormal_cdf (double u) |
double | stdnormal_inv (double p) |
double | normcdf (double x, double mu, double sigma) |
double | norminv (double x, double mu, double sigma) |
double | mean (double *data, int size) |
double | variance (double *data, int size) |
double | pvalue (double v, const double *conddist, int size) |
double | summation (double *data, int size) |
double * | vector_fraction (double *data, int size, double denominator) |
int | comp_double (const void *elem1, const void *elem2) |
Variables | |
double | __Qs [] |
#define __SQRT_2_PI 2.506628274631000241612355 |
#define BETA_CF_MIN 1e-100 |
#define LEVMAX 10 |
#define M_1_SQRTPI 0.564189583547756279280349644978 |
#define M_LOG_SQRT_2PI 0.9189385332046726695409688545623794 |
#define M_PI 3.14159265358979323846 /* pi */ |
#define M_SQRT2 1.41421356237309504880 |
#define M_SQRT2PI 2.506628274631000241612355239340 |
#define M_SQRT_2PI 2.5066282746310002416123552393401042 |
double __beta_cf | ( | double | a, |
double | b, | ||
double | x | ||
) |
double __max | ( | double * | data, |
int | size | ||
) |
int __maxidx | ( | double * | data, |
int | size | ||
) |
double __min | ( | double * | data, |
int | size | ||
) |
double beta | ( | double | alpha, |
double | beta | ||
) |
double betainc | ( | double | x, |
double | alpha, | ||
double | beta | ||
) |
double betaln | ( | double | alpha, |
double | beta | ||
) |
double betapdf | ( | double | x, |
double | alpha, | ||
double | beta | ||
) |
double binocdf | ( | int | x, |
int | n, | ||
double | p | ||
) |
double binopdf | ( | int | x, |
int | n, | ||
double | p | ||
) |
int binornd | ( | int | n, |
double | p | ||
) |
double chi2cdf | ( | double | x, |
int | df | ||
) |
double chi2pdf | ( | double | x, |
int | df | ||
) |
double choose | ( | double | n, |
double | r | ||
) |
double chooseln | ( | double | n, |
double | r | ||
) |
int comp_double | ( | const void * | elem1, |
const void * | elem2 | ||
) |
double exppdf | ( | double | x, |
double | mu | ||
) |
double exprnd | ( | double | mu | ) |
double factorial | ( | double | n | ) |
double factorialln | ( | double | n | ) |
double fcdf | ( | double | x, |
int | df1, | ||
int | df2 | ||
) |
double fpdf | ( | double | x, |
int | df1, | ||
int | df2 | ||
) |
double gamcdf | ( | double | x, |
double | alpha, | ||
double | beta | ||
) |
double gamma | ( | double | a | ) |
double gammainc | ( | double | x, |
double | a | ||
) |
double gammaincln | ( | double | x, |
double | a | ||
) |
double gammaln | ( | double | a | ) |
double gampdf | ( | double | x, |
double | alpha, | ||
double | beta | ||
) |
double incgammaln_lower | ( | double | x, |
double | a | ||
) |
double ipow | ( | double | val, |
int | expo | ||
) |
double mean | ( | double * | data, |
int | size | ||
) |
double normcdf | ( | double | x, |
double | mu, | ||
double | sigma | ||
) |
double norminv | ( | double | x, |
double | mu, | ||
double | sigma | ||
) |
double normpdf | ( | double | x, |
double | mu, | ||
double | sigma | ||
) |
double normrnd | ( | double | mu, |
double | sigma | ||
) |
double poisscdf | ( | int | x, |
double | lambda | ||
) |
double poisspdf | ( | int | x, |
double | lambda | ||
) |
int poissrnd | ( | double | lambda | ) |
double pvalue | ( | double | v, |
const double * | conddist, | ||
int | size | ||
) |
double quad8_stdnormal_pdf | ( | double | a, |
double | b, | ||
double | Q | ||
) |
double raylpdf | ( | double | x, |
double | b | ||
) |
double stdnormal_cdf | ( | double | u | ) |
double stdnormal_inv | ( | double | p | ) |
double summation | ( | double * | data, |
int | size | ||
) |
double tcdf | ( | double | x, |
int | df | ||
) |
double tpdf | ( | double | x, |
int | df | ||
) |
double unifrnd | ( | ) |
double variance | ( | double * | data, |
int | size | ||
) |
double* vector_fraction | ( | double * | data, |
int | size, | ||
double | denominator | ||
) |
double __Qs[] |