SignedDataSummary<T> Class
Class to accumulate statistics about a stream of signed numbers with tag items.
- All sums, counts, extrema, and item values are initialized to zero in the constructor.
- Each call to
announceItem(item, value)
updates the various sums, counts, and extrema.
Methods
Name | Description | |
---|---|---|
constructor<T>(createArrays: boolean): SignedDataSummary<T> | Setup with zero sums and optional arrays. | |
announceItem(item: T, data: number): void | Update with an item and its data value. |
Properties
Defined in
- topology/SignedDataSummary.ts Line 14
Last Updated: 23 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.