Last change
on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1021 bytes
|
Line | |
---|
1 | import JsHistogram from "./JsHistogram";
|
---|
2 | declare type TypedArray = ArrayLike<number> & {
|
---|
3 | readonly BYTES_PER_ELEMENT: number;
|
---|
4 | [key: number]: number;
|
---|
5 | fill(v: number): void;
|
---|
6 | set(other: TypedArray): void;
|
---|
7 | };
|
---|
8 | declare class TypedArrayHistogram extends JsHistogram {
|
---|
9 | private arrayCtr;
|
---|
10 | _counts: TypedArray;
|
---|
11 | _totalCount: number;
|
---|
12 | constructor(arrayCtr: new (size: number) => TypedArray, lowestDiscernibleValue: number, highestTrackableValue: number, numberOfSignificantValueDigits: number);
|
---|
13 | clearCounts(): void;
|
---|
14 | incrementCountAtIndex(index: number): void;
|
---|
15 | addToCountAtIndex(index: number, value: number): void;
|
---|
16 | setCountAtIndex(index: number, value: number): void;
|
---|
17 | resize(newHighestTrackableValue: number): void;
|
---|
18 | getCountAtIndex(index: number): number;
|
---|
19 | protected _getEstimatedFootprintInBytes(): number;
|
---|
20 | copyCorrectedForCoordinatedOmission(expectedIntervalBetweenValueSamples: number): TypedArrayHistogram;
|
---|
21 | toString(): string;
|
---|
22 | }
|
---|
23 | export default TypedArrayHistogram;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.