Implements various index arithmetic functions for perfect binary trees.
Returns an index's children.
Returns an index's family.
Returns the first leaf of a tree rooted at
Translate the general index
Returns the last leaf of a tree rooted at
Returns the last power of two for
Returns the log base 2 of
Returns the next power of two for
Returns the depth between two general indicies.
Returns the subtree root for
Returns the index's sibling.
Translate the subtree index