pith. sign in

arxiv: 1205.3506 · v1 · pith:CNMWEQ3Pnew · submitted 2012-05-15 · 💻 cs.MS · cs.CE

Efficient Expression Templates for Operator Overloading-based Automatic Differentiation

classification 💻 cs.MS cs.CE
keywords differentiationexpressionautomaticefficiencytemplatesimprovinglargeoperator
0
0 comments X
read the original abstract

Expression templates are a well-known set of techniques for improving the efficiency of operator overloading-based forward mode automatic differentiation schemes in the C++ programming language by translating the differentiation from individual operators to whole expressions. However standard expression template approaches result in a large amount of duplicate computation, particularly for large expression trees, degrading their performance. In this paper we describe several techniques for improving the efficiency of expression templates and their implementation in the automatic differentiation package Sacado. We demonstrate their improved efficiency through test functions as well as their application to differentiation of a large-scale fluid dynamics simulation code.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.