Binary Indexed Tree
A simple implementation of Binary Indexed Tree as an R6 class.
A simple implementation of Binary Indexed Tree by R. The BinaryIndexedTree class supports construction of Binary Indexed Tree from a vector, update of a value in the vector and query for the sum of a interval of the vector.