English

Corecursive Coding of High Computational Derivatives and Power Series

Programming Languages 2025-01-24 v1 Data Structures and Algorithms

Abstract

We discuss the functional lazy techniques in generation and handling of arbitrarily long sequences of derivatives of numerical expressions in one ``variable''; the domain to which the paper belongs is usually nicknamed ``Automatic differentiation''. Two models thereof are considered, the chains of ``pure'' derivatives, and the infinite power series, similar, but algorithmically a bit different. We deal with their arithmetic/algebra, and with more convoluted procedures, such as composition and reversion. Some more specific applications of these structures are also presented.

Keywords

Cite

@article{arxiv.2501.13194,
  title  = {Corecursive Coding of High Computational Derivatives and Power Series},
  author = {Jerzy Karczmarczuk},
  journal= {arXiv preprint arXiv:2501.13194},
  year   = {2025}
}

Comments

22 pages, 2 figures. Category: cs.PL

R2 v1 2026-06-28T21:14:07.098Z