Creates a new segment tree with the monoid instance for T and existing items.
T
The Monoid instance for T, you want to calculate quickly.
Monoid
The new segment tree.
Generated using TypeDoc
Creates a new segment tree with the monoid instance for
T
and existing items.