mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
18 lines
328 B
TypeScript
18 lines
328 B
TypeScript
import * as distributions from 'distributions';
|
|
|
|
const normal = distributions.Normal();
|
|
normal.cdf(0);
|
|
normal.pdf(0);
|
|
normal.inv(0);
|
|
normal.mean();
|
|
normal.median();
|
|
normal.variance();
|
|
|
|
const uniform = distributions.Uniform();
|
|
uniform.cdf(0);
|
|
uniform.pdf(0);
|
|
uniform.inv(0);
|
|
uniform.mean();
|
|
uniform.median();
|
|
uniform.variance();
|