TOC Toolkit API - v0.1.0
    Preparing search index...

    Builds the numeric keys of the terms and the formulas of one pool. A key lists 32-bit integers, so equal terms and equal formulas have equal keys.

    An integer that is below 2^30 in magnitude stands for itself in a key. A larger integer gets an id above 2^30 from a map, in the order of its first appearance.

    Index
    • Keys a normal term by its constant and sorted variable factors.

      Parameters

      Returns number[]

    • Keys a formula by its kind and its interned operands.

      Parameters

      Returns number[]