feat: add version flag, fix --float parsing, and optimize distributions
This commit is contained in:
+6
-10
@@ -1,19 +1,15 @@
|
||||
export type Dist =
|
||||
| "uniform"
|
||||
| "normal"
|
||||
| "binomial"
|
||||
| "poisson"
|
||||
| "exponential"
|
||||
| "hypergeometric";
|
||||
|
||||
export const DISTS: Dist[] = [
|
||||
export const DISTS = [
|
||||
"uniform",
|
||||
"normal",
|
||||
"binomial",
|
||||
"poisson",
|
||||
"exponential",
|
||||
"hypergeometric",
|
||||
];
|
||||
] as const;
|
||||
|
||||
export type Dist = (typeof DISTS)[number];
|
||||
|
||||
export const VERSION = "1.0.0";
|
||||
|
||||
export interface Options {
|
||||
dist: Dist;
|
||||
|
||||
Reference in New Issue
Block a user