@mikuroxina/mini-fn
    Preparing search index...

    Function query

    • Calculates the monoid sum of items for the querying range between start (inclusive) and end (exclusive).

      Parameters

      • start: number

        The start index (inclusive) of the querying range.

      Returns (end: number) => <T>(tree: SegTree.SegTree<T>) => T

      The monoid sum of items for the querying range.