Searched refs:shape (Results 1 – 2 of 2) sorted by relevance
| /third_party/ulib/jemalloc/test/unit/ |
| A D | math.c | 360 double shape = pt_gamma_shape[i]; in TEST_BEGIN() local 361 double ln_gamma_shape = ln_gamma(shape); in TEST_BEGIN() 364 assert_true(double_eq_rel(pt_gamma(p, shape, 1.0, in TEST_BEGIN() 376 double shape = 1.0; in TEST_BEGIN() local 377 double ln_gamma_shape = ln_gamma(shape); in TEST_BEGIN() 380 pt_gamma(0.5, shape, 1.0, ln_gamma_shape) * 10.0, in TEST_BEGIN() 381 pt_gamma(0.5, shape, 10.0, ln_gamma_shape), MAX_REL_ERR, in TEST_BEGIN()
|
| /third_party/ulib/jemalloc/test/include/test/ |
| A D | math.h | 6 double pt_gamma(double p, double shape, double scale, double ln_gamma_shape); 306 pt_gamma(double p, double shape, double scale, double ln_gamma_shape) in pt_gamma() argument 308 return (pt_chi2(p, shape * 2.0, ln_gamma_shape) * 0.5 * scale); in pt_gamma()
|
Completed in 6 milliseconds