Implements various index arithmetic for perfect binary trees.
Return a node's family.
Translate the general index
Return the last power of two for
Return the first leaf of a tree described by
Return the log of
Return the next power of two for
Return the depth between two general indicies.
Return the last leaf of a tree described by
Return the subtree root for
Return the index of a node's sibling.
Translate the subtree index