ADF95:面向大量独立变量的 FORTRAN 代码自动微分工具
数学软件
2007-05-23 v1
摘要
ADF95 是一款对任意数学表达视作用户定义独立变量之函数而自动计算数值一阶导数的工具。导数精度可达机器精度。ADF95 可应用于任何符合 FORTRAN 77/90/95 标准的代码,且用户仅需极少改动。它提供一种持有值与导数的新派生数据类型,并通过重载所有 FORTRAN 运算符与内蕴函数实施前向差分。一种高效索引技术减少了内存占用,并相较其他可用重载运算符工具带来显著性能提升。该提升在具有大量独立变量的稀疏系统中尤为突出。广泛数值模拟(如采用隐式求解器的模拟)均可受益于 ADF95。
引用
@article{arxiv.cs/0503014,
title = {ADF95: Tool for automatic differentiation of a FORTRAN code designed for large numbers of independent variables},
author = {Christian W. Straka},
journal= {arXiv preprint arXiv:cs/0503014},
year = {2007}
}
备注
24 pages, 2 figures, 4 tables, accepted in Computer Physics Communications