MCPcopy Create free account
hub / github.com/breck7/scroll / randomBeta

Function randomBeta

external/.d3.js:14639–14646  ·  view source on GitHub ↗
(alpha, beta)

Source from the content-addressed store, hash-verified

14637 var G = gamma.source(source);
14638
14639 function randomBeta(alpha, beta) {
14640 var X = G(alpha),
14641 Y = G(beta);
14642 return function() {
14643 var x = X();
14644 return x === 0 ? 0 : x / (x + Y());
14645 };
14646 }
14647
14648 randomBeta.source = sourceRandomBeta;
14649

Callers

nothing calls this directly

Calls 3

GFunction · 0.70
XFunction · 0.70
YFunction · 0.70

Tested by

no test coverage detected