Expand description
Array statistics: the statistics an array can carry (Stat), how exact a value is
(Precision) and its bounds, the StatsProvider traits that read them, and the cache each
array keeps (ArrayStats, StatsSet).
Modules§
Structs§
- Array
Stats - A shared
StatsSetstored in an array. Can be shared by copies of the array and can also be mutated in place. Stats are created lazily on read or write. - IsConstant
- IsSorted
- IsStrict
Sorted - Lower
Bound - Interpret the value as a lower bound. These form a partial order over successively more precise bounds
- Max
- These structs allow the extraction of the bound from the
Precisionvalue. They tie together the Stat and the StatBound, which allows the bound to be extracted. - Min
- MutTyped
Stats SetRef - NaNCount
- Null
Count - Stats
Set - Stats
SetInto Iter - Owned iterator over the stats.
- Stats
SetRef - Reference to an array’s
StatsSet. Can be used to get and mutate the underlying stats. - Sum
- Typed
Stats SetRef - Uncompressed
Size InBytes - Upper
Bound - Interpret the value as an upper bound, see
LowerBoundfor more details.
Enums§
- Intersection
Result - The result of the fallible intersection of two bound, defined to avoid
OptionIntersectionResultmixup. - Precision
- A statistic has a precision
ExactorInexact. This represents uncertainty in that value. Exact values are computed, where can inexact values are likely inferred from compute functions. - Stat
Traits§
- Stat
Bound StatBounddefines the operations that can be performed on a bound. The main bounds are Upper (e.g. max) and Lower (e.g. min).- Stat
Type StatTypedefine the bound of a given statistic. (e.g.Maxis an upper bound), this is used to extract the bound from aPrecisionvalue, (e.g.p::bound<Max>()).- Stats
Provider - Stats
Provider Ext
Functions§
Type Aliases§
- Stats
Array - Type of the SmallVec stored inside StatsSet