semantic-typescript 0.1.4 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/collectable.d.ts +84 -0
- package/dist/collectable.js +479 -0
- package/dist/collector.d.ts +26 -0
- package/dist/collector.js +86 -0
- package/dist/factory.d.ts +12 -0
- package/dist/factory.js +240 -0
- package/dist/guard.d.ts +23 -0
- package/dist/guard.js +85 -0
- package/dist/hook.d.ts +2 -0
- package/dist/hook.js +64 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +9 -0
- package/dist/optional.d.ts +18 -0
- package/dist/optional.js +65 -0
- package/dist/semantic.d.ts +9 -289
- package/dist/semantic.js +38 -1733
- package/dist/statistics.d.ts +101 -0
- package/dist/statistics.js +765 -0
- package/dist/symbol.d.ts +10 -0
- package/dist/symbol.js +10 -0
- package/dist/utility.d.ts +49 -0
- package/dist/utility.js +17 -0
- package/package.json +3 -2
- package/readme.cn.md +102 -57
- package/readme.de.md +120 -73
- package/readme.es.md +114 -67
- package/readme.fr.md +117 -70
- package/readme.jp.md +115 -70
- package/readme.kr.md +116 -71
- package/readme.md +114 -67
- package/readme.ru.md +115 -70
- package/readme.tw.md +131 -69
package/dist/semantic.d.ts
CHANGED
|
@@ -1,102 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export declare let invalidate: <T>(t: MaybeInvalid<T>) => t is (null | undefined);
|
|
6
|
-
export type Primitive = string | number | boolean | symbol | bigint | Function | ((...args: any[]) => any);
|
|
7
|
-
export type MaybePrimitive<T> = T | Primitive;
|
|
8
|
-
export declare let isBoolean: (t: unknown) => t is boolean;
|
|
9
|
-
export declare let isString: (t: unknown) => t is string;
|
|
10
|
-
export declare let isNumber: (t: unknown) => t is number;
|
|
11
|
-
export declare let isFunction: (t: unknown) => t is Function;
|
|
12
|
-
export declare let isObject: (t: unknown) => t is object;
|
|
13
|
-
export declare let isSymbol: (t: unknown) => t is symbol;
|
|
14
|
-
export declare let isBigint: (t: unknown) => t is bigint;
|
|
15
|
-
export declare let isPrimitive: (t: MaybePrimitive<unknown>) => t is Primitive;
|
|
16
|
-
export declare let isIterable: (t: unknown) => t is Iterable<unknown>;
|
|
17
|
-
export declare let useCompare: <T>(t1: T, t2: T) => number;
|
|
18
|
-
export declare let useRandom: <T = number | bigint>(index: T) => T;
|
|
19
|
-
export declare let OptionalSymbol: symbol;
|
|
20
|
-
export declare let SemanticSymbol: symbol;
|
|
21
|
-
export declare let CollectorsSymbol: symbol;
|
|
22
|
-
export declare let CollectableSymbol: symbol;
|
|
23
|
-
export declare let OrderedCollectableSymbol: symbol;
|
|
24
|
-
export declare let WindowCollectableSymbol: symbol;
|
|
25
|
-
export declare let StatisticsSymbol: symbol;
|
|
26
|
-
export declare let NumericStatisticsSymbol: symbol;
|
|
27
|
-
export declare let BigIntStatisticsSymbol: symbol;
|
|
28
|
-
export declare let UnorderedCollectableSymbol: symbol;
|
|
29
|
-
export declare let isOptional: (t: unknown) => t is Optional<unknown>;
|
|
30
|
-
export declare let isSemantic: (t: unknown) => t is Semantic<unknown>;
|
|
31
|
-
export declare let isCollector: (t: unknown) => t is Collector<unknown, unknown, unknown>;
|
|
32
|
-
export declare let isCollectable: (t: unknown) => t is Collectable<unknown>;
|
|
33
|
-
export declare let isOrderedCollectable: (t: unknown) => t is OrderedCollectable<unknown>;
|
|
34
|
-
export declare let isWindowCollectable: (t: unknown) => t is OrderedCollectable<unknown>;
|
|
35
|
-
export declare let isUnorderedCollectable: (t: unknown) => t is UnorderedCollectable<unknown>;
|
|
36
|
-
export declare let isStatistics: (t: unknown) => t is Statistics<unknown, number | bigint>;
|
|
37
|
-
export declare let isNumericStatistics: (t: unknown) => t is Statistics<unknown, number | bigint>;
|
|
38
|
-
export declare let isBigIntStatistics: (t: unknown) => t is Statistics<unknown, number | bigint>;
|
|
39
|
-
export interface Runnable {
|
|
40
|
-
(): void;
|
|
41
|
-
}
|
|
42
|
-
export interface Supplier<R> {
|
|
43
|
-
(): R;
|
|
44
|
-
}
|
|
45
|
-
export interface Functional<T, R> {
|
|
46
|
-
(t: T): R;
|
|
47
|
-
}
|
|
48
|
-
export interface Predicate<T> {
|
|
49
|
-
(t: T): boolean;
|
|
50
|
-
}
|
|
51
|
-
export interface BiFunctional<T, U, R> {
|
|
52
|
-
(t: T, u: U): R;
|
|
53
|
-
}
|
|
54
|
-
export interface BiPredicate<T, U> {
|
|
55
|
-
(t: T, u: U): boolean;
|
|
56
|
-
}
|
|
57
|
-
export interface Comparator<T> {
|
|
58
|
-
(t1: T, t2: T): number;
|
|
59
|
-
}
|
|
60
|
-
export interface TriFunctional<T, U, V, R> {
|
|
61
|
-
(t: T, u: U, v: V): R;
|
|
62
|
-
}
|
|
63
|
-
export interface Consumer<T> {
|
|
64
|
-
(t: T): void;
|
|
65
|
-
}
|
|
66
|
-
export interface BiConsumer<T, U> {
|
|
67
|
-
(t: T, u: U): void;
|
|
68
|
-
}
|
|
69
|
-
export interface TriConsumer<T, U, V> {
|
|
70
|
-
(t: T, u: U, v: V): void;
|
|
71
|
-
}
|
|
72
|
-
export interface Generator<T> {
|
|
73
|
-
(accept: BiConsumer<T, bigint>, interrupt: Predicate<T>): void;
|
|
74
|
-
}
|
|
75
|
-
declare class Optional<T> {
|
|
76
|
-
protected value: MaybeInvalid<T>;
|
|
77
|
-
protected readonly Optional: Symbol;
|
|
78
|
-
protected constructor(value: MaybeInvalid<T>);
|
|
79
|
-
filter(predicate: Predicate<T>): Optional<T>;
|
|
80
|
-
get(): T;
|
|
81
|
-
get(defaultValue: T): T;
|
|
82
|
-
ifPresent(action: Consumer<T>): void;
|
|
83
|
-
ifPresent(action: Consumer<T>, elseAction: Runnable): void;
|
|
84
|
-
isEmpty(): boolean;
|
|
85
|
-
isPresent(): boolean;
|
|
86
|
-
map<R>(mapper: Functional<T, R>): Optional<R>;
|
|
87
|
-
static empty<T>(): Optional<T>;
|
|
88
|
-
static of<T>(value: MaybeInvalid<T>): Optional<T>;
|
|
89
|
-
static ofNullable<T>(value?: MaybeInvalid<T>): Optional<T>;
|
|
90
|
-
static ofNonNull<T>(value: T): Optional<T>;
|
|
91
|
-
}
|
|
92
|
-
export declare let blob: BiFunctional<Blob, bigint, Semantic<Uint8Array>>;
|
|
93
|
-
export declare let empty: <E>() => Semantic<E>;
|
|
94
|
-
export declare let fill: <E>(element: E | Supplier<E>, count: bigint) => Semantic<E>;
|
|
95
|
-
export declare let from: <E>(iterable: Iterable<E>) => Semantic<E>;
|
|
96
|
-
export declare let interval: Functional<number, Semantic<number>> & BiFunctional<number, number, Semantic<number>>;
|
|
97
|
-
export declare let iterate: <E>(generator: Generator<E>) => Semantic<E>;
|
|
98
|
-
export declare let range: <N extends number | bigint>(start: N, end: N, step: N) => Semantic<N>;
|
|
99
|
-
export declare let websocket: Functional<WebSocket, Semantic<MessageEvent | CloseEvent | Event>>;
|
|
1
|
+
import { Collectable, OrderedCollectable, UnorderedCollectable, WindowCollectable } from "./collectable";
|
|
2
|
+
import { BigIntStatistics, NumericStatistics } from "./statistics";
|
|
3
|
+
import { type Predicate } from "./utility";
|
|
4
|
+
import type { Generator, Functional, BiFunctional, Consumer, BiConsumer, Comparator } from "./utility";
|
|
100
5
|
export declare class Semantic<E> {
|
|
101
6
|
protected generator: Generator<E>;
|
|
102
7
|
protected readonly Semantic: Symbol;
|
|
@@ -112,6 +17,7 @@ export declare class Semantic<E> {
|
|
|
112
17
|
limit(n: number): Semantic<E>;
|
|
113
18
|
limit(n: bigint): Semantic<E>;
|
|
114
19
|
map<R>(mapper: Functional<E, R>): Semantic<R>;
|
|
20
|
+
peek(consumer: Consumer<E>): Semantic<E>;
|
|
115
21
|
peek(consumer: BiConsumer<E, bigint>): Semantic<E>;
|
|
116
22
|
redirect(redirector: BiFunctional<E, bigint, bigint>): Semantic<E>;
|
|
117
23
|
reverse(): Semantic<E>;
|
|
@@ -123,200 +29,14 @@ export declare class Semantic<E> {
|
|
|
123
29
|
sorted(comparator: Comparator<E>): OrderedCollectable<E>;
|
|
124
30
|
sub(start: bigint, end: bigint): Semantic<E>;
|
|
125
31
|
takeWhile(predicate: Predicate<E>): Semantic<E>;
|
|
32
|
+
toCollectable(): Collectable<E>;
|
|
33
|
+
toCollectable<C extends Collectable<E>>(mapper: Functional<Generator<E>, C>): C;
|
|
34
|
+
toBigintStatistics(): BigIntStatistics<E>;
|
|
35
|
+
toNumericStatistics(): NumericStatistics<E>;
|
|
126
36
|
toOrdered(): OrderedCollectable<E>;
|
|
127
|
-
toNumericStatistics(): Statistics<E, number>;
|
|
128
|
-
toBigintStatistics(): Statistics<E, bigint>;
|
|
129
37
|
toUnoredered(): UnorderedCollectable<E>;
|
|
130
38
|
toWindow(): WindowCollectable<E>;
|
|
131
39
|
translate(offset: number): Semantic<E>;
|
|
132
40
|
translate(offset: bigint): Semantic<E>;
|
|
133
41
|
translate(translator: BiFunctional<E, bigint, bigint>): Semantic<E>;
|
|
134
42
|
}
|
|
135
|
-
export declare class Collector<E, A, R> {
|
|
136
|
-
protected identity: Supplier<A>;
|
|
137
|
-
protected interruptor: Predicate<E>;
|
|
138
|
-
protected accumulator: BiFunctional<A, E, A> | TriFunctional<A, E, bigint, A>;
|
|
139
|
-
protected finisher: Functional<A, R>;
|
|
140
|
-
protected readonly Collector: symbol;
|
|
141
|
-
constructor(identity: Supplier<A>, interruptor: Predicate<E>, accumulator: BiFunctional<A, E, A>, finisher: Functional<A, R>);
|
|
142
|
-
constructor(identity: Supplier<A>, interruptor: Predicate<E>, accumulator: TriFunctional<A, E, bigint, A>, finisher: Functional<A, R>);
|
|
143
|
-
collect(generator: Generator<E>): R;
|
|
144
|
-
collect(iterable: Iterable<E>): R;
|
|
145
|
-
static full<E, A, R>(identity: Supplier<A>, accumulator: BiFunctional<A, E, A>, finisher: Functional<A, R>): Collector<E, A, R>;
|
|
146
|
-
static full<E, A, R>(identity: Supplier<A>, accumulator: TriFunctional<A, E, bigint, A>, finisher: Functional<A, R>): Collector<E, A, R>;
|
|
147
|
-
static shortable<E, A, R>(identity: Supplier<A>, interruptor: Predicate<E>, accumulator: BiFunctional<A, E, A>, finisher: Functional<A, R>): Collector<E, A, R>;
|
|
148
|
-
static shortable<E, A, R>(identity: Supplier<A>, interruptor: Predicate<E>, accumulator: TriFunctional<A, E, bigint, A>, finisher: Functional<A, R>): Collector<E, A, R>;
|
|
149
|
-
}
|
|
150
|
-
export declare abstract class Collectable<E> {
|
|
151
|
-
protected readonly Collectable: symbol;
|
|
152
|
-
constructor();
|
|
153
|
-
anyMatch(predicate: Predicate<E>): boolean;
|
|
154
|
-
allMatch(predicate: Predicate<E>): boolean;
|
|
155
|
-
collect<A, R>(collector: Collector<E, A, R>): R;
|
|
156
|
-
collect<A, R>(identity: Supplier<A>, accumulator: BiFunctional<A, E, A>, finisher: Functional<A, R>): R;
|
|
157
|
-
collect<A, R>(identity: Supplier<A>, accumulator: TriFunctional<A, E, bigint, A>, finisher: Functional<A, R>): R;
|
|
158
|
-
collect<A, R>(identity: Supplier<A>, interruptor: Predicate<E>, accumulator: BiFunctional<A, E, A>, finisher: Functional<A, R>): R;
|
|
159
|
-
collect<A, R>(identity: Supplier<A>, interruptor: Predicate<E>, accumulator: TriFunctional<A, E, bigint, A>, finisher: Functional<A, R>): R;
|
|
160
|
-
count(): bigint;
|
|
161
|
-
isEmpty(): boolean;
|
|
162
|
-
findAny(): Optional<E>;
|
|
163
|
-
findFirst(): Optional<E>;
|
|
164
|
-
findLast(): Optional<E>;
|
|
165
|
-
forEach(action: BiConsumer<E, bigint>): void;
|
|
166
|
-
group<K>(classifier: Functional<E, K>): Map<K, Array<E>>;
|
|
167
|
-
groupBy<K, V>(keyExtractor: Functional<E, K>, valueExtractor: Functional<E, V>): Map<K, Array<V>>;
|
|
168
|
-
join(): string;
|
|
169
|
-
join(delimiter: string): string;
|
|
170
|
-
join(prefix: string, delimiter: string, suffix: string): string;
|
|
171
|
-
join(prefiex: string, accumulator: BiFunctional<string, E, string>, suffix: string): string;
|
|
172
|
-
join(prefiex: string, accumulator: TriFunctional<string, E, bigint, string>, suffix: string): string;
|
|
173
|
-
log(): void;
|
|
174
|
-
log(accumulator: BiFunctional<string, E, string>): void;
|
|
175
|
-
log(accumulator: BiFunctional<string, E, string> | TriFunctional<string, E, bigint, string>): void;
|
|
176
|
-
log(prefix: string, accumulator: BiFunctional<string, E, string>, suffix: string): void;
|
|
177
|
-
log(prefix: string, accumulator: TriFunctional<string, E, bigint, string>, suffix: string): void;
|
|
178
|
-
nonMatch(predicate: Predicate<E>): boolean;
|
|
179
|
-
partition(count: bigint): Array<Array<E>>;
|
|
180
|
-
partitionBy(classifier: Functional<E, bigint>): Array<Array<E>>;
|
|
181
|
-
reduce(accumulator: BiFunctional<E, E, E>): Optional<E>;
|
|
182
|
-
reduce(accumulator: TriFunctional<E, E, bigint, E>): Optional<E>;
|
|
183
|
-
reduce(identity: E, accumulator: BiFunctional<E, E, E>): E;
|
|
184
|
-
reduce(identity: E, accumulator: TriFunctional<E, E, bigint, E>): E;
|
|
185
|
-
reduce<R>(identity: R, accumulator: BiFunctional<R, E, R>, finisher: BiFunctional<R, R, R>): R;
|
|
186
|
-
reduce<R>(identity: R, accumulator: TriFunctional<R, E, bigint, R>, finisher: BiFunctional<R, R, R>): R;
|
|
187
|
-
semantic(): Semantic<E>;
|
|
188
|
-
protected abstract source(): Generator<E> | Iterable<E>;
|
|
189
|
-
toArray(): Array<E>;
|
|
190
|
-
toMap<K, V>(keyExtractor: Functional<E, K>, valueExtractor: Functional<E, V>): Map<K, V>;
|
|
191
|
-
toSet(): Set<E>;
|
|
192
|
-
write(stream: WritableStream<string>): Promise<WritableStream<string>>;
|
|
193
|
-
write(stream: WritableStream<string>, accumulator: BiFunctional<E, bigint, string>): Promise<WritableStream<string>>;
|
|
194
|
-
write(stream: WritableStream<Uint8Array>, accumulator: BiFunctional<E, bigint, Uint8Array>): Promise<WritableStream<Uint8Array>>;
|
|
195
|
-
}
|
|
196
|
-
export declare class UnorderedCollectable<E> extends Collectable<E> {
|
|
197
|
-
protected readonly UnorderedCollectable: symbol;
|
|
198
|
-
protected generator: Generator<E>;
|
|
199
|
-
constructor(generator: Generator<E>);
|
|
200
|
-
source(): Generator<E>;
|
|
201
|
-
}
|
|
202
|
-
type Indexed<K, V> = {
|
|
203
|
-
index: K;
|
|
204
|
-
value: V;
|
|
205
|
-
};
|
|
206
|
-
export declare class OrderedCollectable<E> extends Collectable<E> {
|
|
207
|
-
protected readonly OrderedCollectable: symbol;
|
|
208
|
-
protected ordered: Array<Indexed<bigint, E>>;
|
|
209
|
-
constructor(iterable: Iterable<E>);
|
|
210
|
-
constructor(iterable: Iterable<E>, comparator: Comparator<E>);
|
|
211
|
-
constructor(generator: Generator<E>);
|
|
212
|
-
constructor(generator: Generator<E>, comparator: Comparator<E>);
|
|
213
|
-
source(): Generator<E> | Iterable<E>;
|
|
214
|
-
}
|
|
215
|
-
export declare class WindowCollectable<E> extends OrderedCollectable<E> {
|
|
216
|
-
protected readonly WindowCollectable: symbol;
|
|
217
|
-
constructor(iterable: Iterable<E>);
|
|
218
|
-
constructor(iterable: Iterable<E>, comparator: Comparator<E>);
|
|
219
|
-
constructor(generator: Generator<E>);
|
|
220
|
-
constructor(generator: Generator<E>, comparator: Comparator<E>);
|
|
221
|
-
slide(size: bigint, step?: bigint): Semantic<Semantic<E>>;
|
|
222
|
-
tumble(size: bigint): Semantic<Semantic<E>>;
|
|
223
|
-
}
|
|
224
|
-
export declare abstract class Statistics<E, D extends number | bigint> extends OrderedCollectable<E> {
|
|
225
|
-
protected readonly Statistics: symbol;
|
|
226
|
-
constructor(iterable: Iterable<E>);
|
|
227
|
-
constructor(iterable: Iterable<E>, comparator: Comparator<E>);
|
|
228
|
-
constructor(generator: Generator<E>);
|
|
229
|
-
constructor(generator: Generator<E>, comparator: Comparator<E>);
|
|
230
|
-
count(): bigint;
|
|
231
|
-
maximum(): Optional<E>;
|
|
232
|
-
maximum(comparator: Comparator<E>): Optional<E>;
|
|
233
|
-
minimum(): Optional<E>;
|
|
234
|
-
minimum(comparator: Comparator<E>): Optional<E>;
|
|
235
|
-
abstract range(): D;
|
|
236
|
-
abstract range(mapper: Functional<E, D>): D;
|
|
237
|
-
abstract variance(): D;
|
|
238
|
-
abstract variance(mapper: Functional<E, D>): D;
|
|
239
|
-
abstract standardDeviation(): D;
|
|
240
|
-
abstract standardDeviation(mapper: Functional<E, D>): D;
|
|
241
|
-
abstract mean(): D;
|
|
242
|
-
abstract mean(mapper: Functional<E, D>): D;
|
|
243
|
-
abstract median(): D;
|
|
244
|
-
abstract median(mapper: Functional<E, D>): D;
|
|
245
|
-
abstract mode(): D;
|
|
246
|
-
abstract mode(mapper: Functional<E, D>): D;
|
|
247
|
-
abstract frequency(): Map<D, bigint>;
|
|
248
|
-
abstract frequency(mapper: Functional<E, D>): Map<D, bigint>;
|
|
249
|
-
abstract summate(): D;
|
|
250
|
-
abstract summate(mapper: Functional<E, D>): D;
|
|
251
|
-
abstract quantile(quantile: number): D;
|
|
252
|
-
abstract quantile(quantile: number, mapper: Functional<E, D>): D;
|
|
253
|
-
abstract interquartileRange(): D;
|
|
254
|
-
abstract interquartileRange(mapper: Functional<E, D>): D;
|
|
255
|
-
abstract skewness(): D;
|
|
256
|
-
abstract skewness(mapper: Functional<E, D>): D;
|
|
257
|
-
abstract kurtosis(): D;
|
|
258
|
-
abstract kurtosis(mapper: Functional<E, D>): D;
|
|
259
|
-
}
|
|
260
|
-
export declare class NumericStatistics<E> extends Statistics<E, number> {
|
|
261
|
-
protected readonly NumericStatistics: symbol;
|
|
262
|
-
constructor(iterable: Iterable<E>);
|
|
263
|
-
constructor(iterable: Iterable<E>, comparator: Comparator<E>);
|
|
264
|
-
constructor(generator: Generator<E>);
|
|
265
|
-
constructor(generator: Generator<E>, comparator: Comparator<E>);
|
|
266
|
-
range(): number;
|
|
267
|
-
range(mapper: Functional<E, number>): number;
|
|
268
|
-
variance(): number;
|
|
269
|
-
variance(mapper: Functional<E, number>): number;
|
|
270
|
-
standardDeviation(): number;
|
|
271
|
-
standardDeviation(mapper: Functional<E, number>): number;
|
|
272
|
-
mean(): number;
|
|
273
|
-
mean(mapper: Functional<E, number>): number;
|
|
274
|
-
median(): number;
|
|
275
|
-
median(mapper: Functional<E, number>): number;
|
|
276
|
-
mode(): number;
|
|
277
|
-
mode(mapper: Functional<E, number>): number;
|
|
278
|
-
frequency(): Map<number, bigint>;
|
|
279
|
-
frequency(mapper: Functional<E, number>): Map<number, bigint>;
|
|
280
|
-
summate(): number;
|
|
281
|
-
summate(mapper: Functional<E, number>): number;
|
|
282
|
-
quantile(quantile: number): number;
|
|
283
|
-
quantile(quantile: number, mapper: Functional<E, number>): number;
|
|
284
|
-
interquartileRange(): number;
|
|
285
|
-
interquartileRange(mapper: Functional<E, number>): number;
|
|
286
|
-
skewness(): number;
|
|
287
|
-
skewness(mapper: Functional<E, number>): number;
|
|
288
|
-
kurtosis(): number;
|
|
289
|
-
kurtosis(mapper: Functional<E, number>): number;
|
|
290
|
-
}
|
|
291
|
-
export declare class BigIntStatistics<E> extends Statistics<E, bigint> {
|
|
292
|
-
protected readonly BigIntStatistics: symbol;
|
|
293
|
-
constructor(iterable: Iterable<E>);
|
|
294
|
-
constructor(iterable: Iterable<E>, comparator: Comparator<E>);
|
|
295
|
-
constructor(generator: Generator<E>);
|
|
296
|
-
constructor(generator: Generator<E>, comparator: Comparator<E>);
|
|
297
|
-
range(): bigint;
|
|
298
|
-
range(mapper: Functional<E, bigint>): bigint;
|
|
299
|
-
variance(): bigint;
|
|
300
|
-
variance(mapper: Functional<E, bigint>): bigint;
|
|
301
|
-
standardDeviation(): bigint;
|
|
302
|
-
standardDeviation(mapper: Functional<E, bigint>): bigint;
|
|
303
|
-
mean(): bigint;
|
|
304
|
-
mean(mapper: Functional<E, bigint>): bigint;
|
|
305
|
-
median(): bigint;
|
|
306
|
-
median(mapper: Functional<E, bigint>): bigint;
|
|
307
|
-
mode(): bigint;
|
|
308
|
-
mode(mapper: Functional<E, bigint>): bigint;
|
|
309
|
-
frequency(): Map<bigint, bigint>;
|
|
310
|
-
frequency(mapper: Functional<E, bigint>): Map<bigint, bigint>;
|
|
311
|
-
summate(): bigint;
|
|
312
|
-
summate(mapper: Functional<E, bigint>): bigint;
|
|
313
|
-
quantile(quantile: number): bigint;
|
|
314
|
-
quantile(quantile: number, mapper: Functional<E, bigint>): bigint;
|
|
315
|
-
interquartileRange(): bigint;
|
|
316
|
-
interquartileRange(mapper: Functional<E, bigint>): bigint;
|
|
317
|
-
skewness(): bigint;
|
|
318
|
-
skewness(mapper: Functional<E, bigint>): bigint;
|
|
319
|
-
kurtosis(): bigint;
|
|
320
|
-
kurtosis(mapper: Functional<E, bigint>): bigint;
|
|
321
|
-
}
|
|
322
|
-
export {};
|