Calculating the divided differences of the exponential function by addition and removal of inputs

Lalit Gupta, Lev Barash, Itay Hen
12/27/2019
physics.comp-phmath.NA

Official code: LevBarash/DivDiff (2 stars, C++, last commit 2020-05-23).

Abstract

We introduce a method for calculating the divided differences of the exponential function by means of addition and removal of items from the input list to the function. Our technique exploits a new identity related to divided differences recently derived by F.

Show full abstract

Zivcovich [Dolomites Research Notes on Approximation 12, 28-42 (2019)]. We show that upon adding an item to or removing an item from the input list of an already evaluated exponential, the re-evaluation of the divided differences can be done with only $O(s n)$ floating point operations and $O(s n)$ bytes of memory, where $[z_0,\dots,z_n]$ are the inputs and $s \propto \max_{i,j} |z_i - z_j|$. We demonstrate our algorithm's ability to deal with input lists that are orders-of-magnitude longer than the maximal capacities of the current state-of-the-art. We discuss in detail one practical application of our method: the efficient calculation of weights in the off-diagonal series expansion quantum Monte Carlo algorithm.

View on arXivView PDF

Code Implementations(1)

LevBarash/DivDiffOfficial100%

Paper: Computer Physics Communications 254, 107385 (2020); Preprint: https://arxiv.org/abs/1912.12157

20C++Dec 8, 20196 years ago

Similar Papers

Cite this paper

@article{gupta2019calculating,
  title  = {Calculating the divided differences of the exponential function by addition and removal of inputs},
  author = {Lalit Gupta and Lev Barash and Itay Hen},
  year   = {2019},
  eprint = {1912.12157},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1912.12157}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1912.12157.svg)](https://codeofpaper.com/paper/1912.12157)

Discussion