FenwickTree<'a> Type
A Fenwick tree over values of type 'a. 'combine' must be associative: combine (combine a b) c = combine a (combine b c) 'identity' must be a left/right identity for combine.
Record fields
| Record Field |
Description
|
Full Usage:
Combine
Field type: 'a -> 'a -> 'a
|
Associative combining operation (e.g. (+), (^^^), Set.union).
|
Full Usage:
Data
Field type: 'a array
|
The underlying storage (1-indexed internally; slot 0 unused).
|
Full Usage:
Identity
Field type: 'a
|
Identity element for the combine operation.
|