Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Peñuñuri, F., Cantún-Avila, K. B., Peón-Escalante, R.
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2501.04159
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866915776494043136
author Peñuñuri, F.
Cantún-Avila, K. B.
Peón-Escalante, R.
author_facet Peñuñuri, F.
Cantún-Avila, K. B.
Peón-Escalante, R.
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.
format Preprint
id arxiv_https___arxiv_org_abs_2501_04159
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Dual Numbers for Arbitrary Order Automatic Differentiation
Peñuñuri, F.
Cantún-Avila, K. B.
Peón-Escalante, R.
Numerical Analysis
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.
title Dual Numbers for Arbitrary Order Automatic Differentiation
topic Numerical Analysis
url https://arxiv.org/abs/2501.04159