Home
last modified time | relevance | path

Searched refs:shape (Results 1 – 3 of 3) sorted by relevance

/redis-3.2.3/deps/jemalloc/test/unit/
H A Dmath.c356 double shape = pt_gamma_shape[i]; in TEST_BEGIN() local
357 double ln_gamma_shape = ln_gamma(shape); in TEST_BEGIN()
360 assert_true(double_eq_rel(pt_gamma(p, shape, 1.0, in TEST_BEGIN()
372 double shape = 1.0; in TEST_BEGIN() local
373 double ln_gamma_shape = ln_gamma(shape); in TEST_BEGIN()
376 pt_gamma(0.5, shape, 1.0, ln_gamma_shape) * 10.0, in TEST_BEGIN()
377 pt_gamma(0.5, shape, 10.0, ln_gamma_shape), MAX_REL_ERR, in TEST_BEGIN()
/redis-3.2.3/deps/lua/test/
H A Dlife.lua30 function _CELLS:spawn(shape,left,top)
31 for y=0,shape.h-1 do
32 for x=0,shape.w-1 do
33 self[top+y][left+x] = shape[y*shape.w+x+1]
/redis-3.2.3/deps/jemalloc/test/include/test/
H A Dmath.h6 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
309 return (pt_chi2(p, shape * 2.0, ln_gamma_shape) * 0.5 * scale); in pt_gamma()