/usr/include/libspreadsheet-1.12/spreadsheet/gnm-random.h is in gnumeric 1.12.32-1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | #ifndef _GNM_RANDOM_H_
#define _GNM_RANDOM_H_
#include "numbers.h"
G_BEGIN_DECLS
gnm_float random_01 (void);
gnm_float random_poisson (gnm_float lambda);
gnm_float random_binomial (gnm_float p, gnm_float trials);
gnm_float random_negbinom (gnm_float p, gnm_float f);
gnm_float random_exponential (gnm_float b);
gnm_float random_bernoulli (gnm_float p);
gnm_float random_normal (void);
gnm_float random_cauchy (gnm_float a);
gnm_float random_lognormal (gnm_float zeta, gnm_float sigma);
gnm_float random_weibull (gnm_float a, gnm_float b);
gnm_float random_laplace (gnm_float a);
gnm_float random_rayleigh (gnm_float sigma);
gnm_float random_rayleigh_tail (gnm_float a, gnm_float sigma);
gnm_float random_gamma (gnm_float a, gnm_float b);
gnm_float random_pareto (gnm_float a, gnm_float b);
gnm_float random_fdist (gnm_float nu1, gnm_float nu2);
gnm_float random_beta (gnm_float a, gnm_float b);
gnm_float random_logistic (gnm_float a);
gnm_float random_geometric (gnm_float p);
gnm_float random_hypergeometric (gnm_float n1, gnm_float n2, gnm_float t);
gnm_float random_logarithmic (gnm_float p);
gnm_float random_chisq (gnm_float nu);
gnm_float random_tdist (gnm_float nu);
gnm_float random_gumbel1 (gnm_float a, gnm_float b);
gnm_float random_gumbel2 (gnm_float a, gnm_float b);
gnm_float random_levy (gnm_float c, gnm_float alpha);
gnm_float random_levy_skew (gnm_float c, gnm_float alpha,
gnm_float beta);
gnm_float random_exppow (gnm_float a, gnm_float b);
gnm_float random_landau (void);
gnm_float random_gaussian_tail (gnm_float a, gnm_float sigma);
gnm_float random_skew_normal (gnm_float a);
gnm_float random_skew_tdist (gnm_float nu, gnm_float a);
G_END_DECLS
#endif
|