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

Function ds

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

Source from the content-addressed store, hash-verified

4534 })(2 * t - 1);
4535 }
4536 function ds(t, e) {
4537 let n, r;
4538 const i = {
4539 mean(t) {
4540 return arguments.length ? ((n = t || 0), i) : n;
4541 },
4542 stdev(t) {
4543 return arguments.length ? ((r = null == t ? 1 : t), i) : r;
4544 },
4545 sample: () => ls(n, r),
4546 pdf: (t) => cs(t, n, r),
4547 cdf: (t) => fs(t, n, r),
4548 icdf: (t) => hs(t, n, r),
4549 };
4550 return i.mean(t).stdev(e);
4551 }
4552 function ps(e, n) {
4553 const r = ds();
4554 let i = 0;

Callers 1

psFunction · 0.70

Calls 4

fsFunction · 0.85
hsFunction · 0.85
lsFunction · 0.70
csFunction · 0.70

Tested by

no test coverage detected