|
|
This is the C++ source code for the paper:
Daniel Lemire and Owen Kaser, Hierarchical Bin Buffering: Online Local Moments for Dynamic External Memory Arrays http://arxiv.org/abs/cs.DS/0610128
This paper includes a survey as well as new methods to precompute polynomial range queries, as they are used in polynomial curve fitting and statistics.
Examples of queries that can be written as polynomial range queries include: the sum of the array between index i and index j, the center of mass of the array between the index i and the index j, and so on.
