Fenwick Tree
A Fenwick tree (binary indexed tree) is a data structure supporting efficient prefix-sum queries and point updates, with both query and update time complexity of O(log N) and space complexity of O(N).
Timeline (last 90 days)
The method proposed in the paper converts kernel summations into Fenwick tree prefix-sum queries, achieving a subquadratic-time algorithm on R^d for product kernels (such as Laplace, Matérn, Gaussian and inverse multiquadric kernels).
For an array of length N, a Fenwick tree (binary indexed tree) can complete prefix-sum queries and element updates in O(log N) time, with O(N) space complexity.
For a product kernel k(x,y)=∏_{r=1}^d φ_r(x_r, y_r), the all-pairs sum can be decomposed into the product of one-dimensional sums over each dimension, and Fenwick trees can compute each one-dimensional prefix sum in O(d log N) time, thereby reducing the total complexity to subquadratic.
All Facts (3)
The method proposed in the paper converts kernel summations into Fenwick tree prefix-sum queries, achieving a subquadratic-time algorithm on R^d for product kernels (such as Laplace, Matérn, Gaussian and inverse multiquadric kernels).
50%UnverifiedFor an array of length N, a Fenwick tree (binary indexed tree) can complete prefix-sum queries and element updates in O(log N) time, with O(N) space complexity.
50%UnverifiedFor a product kernel k(x,y)=∏_{r=1}^d φ_r(x_r, y_r), the all-pairs sum can be decomposed into the product of one-dimensional sums over each dimension, and Fenwick trees can compute each one-dimensional prefix sum in O(d log N) time, thereby reducing the total complexity to subquadratic.
50%