Saved in:
Bibliographic Details
Main Authors: Peñuñuri, F., Cantún-Avila, K. B., Peón-Escalante, R.
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2501.04159
Tags: Add Tag
No Tags, Be the first to tag this record!
Table of Contents:
  • Dual numbers are a well-established tool for computing derivatives and constitute the basis of forward-mode automatic differentiation. While the theoretical framework for computing derivatives of arbitrary order is well understood, practical and scalable implementations remain limited. Existing approaches based on nested dual numbers, such as those used in modern high-level languages, suffer from severe memory growth and poor scalability as the derivative order increases. In this work, we introduce DNAOAD, a Fortran-based automatic differentiation framework capable of computing derivatives of arbitrary order using dual numbers with a direct, non-nested representation. By avoiding recursive data structures, DNAOAD significantly reduces memory usage and enables the efficient computation of derivatives of very high order, overcoming key scalability limitations of existing methods and making it particularly well suited for high-performance scientific computing applications.