rbit: Binary Indexed Tree

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.

Getting started

Package details

AuthorJialun Zhang, Zhilan Fan, Hang Zhang
MaintainerJialun Zhang <reatank@foxmail.com>
LicenseMIT + file LICENSE
Version1.0.0
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("rbit")

Try the rbit package in your browser

Any scripts or data that you put into this service are public.

rbit documentation built on May 1, 2019, 10:30 p.m.