• Title of article

    DNAD, a simple tool for automatic differentiation of Fortran codes using dual numbers Original Research Article

  • Author/Authors

    Hui Chen and Wenbin Yu، نويسنده , , Maxwell Blair، نويسنده ,

  • Issue Information
    ماهنامه با شماره پیاپی سال 2013
  • Pages
    7
  • From page
    1446
  • To page
    1452
  • Abstract
    DNAD (dual number automatic differentiation) is a simple, general-purpose tool to automatically differentiate Fortran codes written in modern Fortran (F90/ 95/2003) or legacy codes written in previous version of the Fortran language. It implements the forward mode of automatic differentiation using the arithmetic of dual numbers and the operator overloading feature of F90/ 95/2003. Very minimum changes of the source codes are needed to compute the first derivatives of Fortran programs. The advantages of DNAD in comparison to other existing similar computer codes are its programming simplicity, extensibility, and computational efficiency. Specifically, DNAD is more accurate and efficient than the popular complex-step approximation. Several examples are used to demonstrate its applications and advantages.
  • Keywords
    Fortran 90/95/2003 , sensitivity , Dual numbers , DNAD , Automatic differentiation
  • Journal title
    Computer Physics Communications
  • Serial Year
    2013
  • Journal title
    Computer Physics Communications
  • Record number

    1136562