Software Open Access

# cppduals: a nestable vectorized templated dual number library for C++11

Tesch, Michael

Mathematical algorithms in the field of optimization often require the simultaneous computation of a function and its derivative.  The derivative of many functions can be found automatically, a process referred to as automatic differentiation.  Dual numbers, close relatives of the complex numbers, are of particular use in automatic differentiation.  This library provides an extremely fast implementation of dual numbers for C++, duals::dual<>, which, when replacing scalar types, can be used to automatically calculate a derivative.

Files (22.9 kB)
Name Size
cppduals-0.1.2.tgz
22.9 kB
0
0
views