MCPcopy Create free account
hub / github.com/alignoth/alignoth / _s

Function _s

resources/vega.min.js:4598–4613  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

4596 return Math.exp(hs(t, e, n));
4597 }
4598 function _s(t, e) {
4599 let n, r;
4600 const i = {
4601 mean(t) {
4602 return arguments.length ? ((n = t || 0), i) : n;
4603 },
4604 stdev(t) {
4605 return arguments.length ? ((r = null == t ? 1 : t), i) : r;
4606 },
4607 sample: () => gs(n, r),
4608 pdf: (t) => ms(t, n, r),
4609 cdf: (t) => ys(t, n, r),
4610 icdf: (t) => vs(t, n, r),
4611 };
4612 return i.mean(t).stdev(e);
4613 }
4614 function xs(e, n) {
4615 let r,
4616 i = 0;

Callers

nothing calls this directly

Calls 4

ysFunction · 0.85
gsFunction · 0.70
msFunction · 0.70
vsFunction · 0.70

Tested by

no test coverage detected