AD-HOC: A C++ Expression Template Package for High-order Derivatives Backpropagation

View at publisher Summarise with VIRAT
Authors: Juan Lucas Rey
Cited by: 0

Summary

No summary yet. VIRAT can read this paper and write a plain-language summary of its aim, methods, key findings and limitations.

Summarise with VIRAT Free to try with your Science Catalogs account.

Abstract

This article presents a new C++ Automatic Differentiation (AD) tool, AD-HOC (Automatic Differentiation for High-Order Calculations). This tool aims to have the following features: (i) Calculation of user specified derivatives of arbitrary order. (ii) To be able to run with similar speeds as handwritten code. (iii) All derivatives calculations are computed in a single backpropagation tree pass. (iv) No source code generation is used, relying heavily on the C++ compiler to statically build the computation tree before runtime. (v) A simple interface. (vi) The ability to be used in conjunction with other established, general-purpose dynamic AD tools. (vii) Header-only library, with no external dependencies. (viii) Open source, with a business-friendly license.

Fields of Study & Subjects

Numerical Methods and Algorithms Mathematical and Computational Methods Logic programming and type systems

Publication details

Journal / source
Society for Industrial and Applied Mathematics eBooks
Pages
222–233
Publication date
1 January 2026
Language
EN