Source Transformation for MATLAB Automatic Differentiation

Source Transformation for MATLAB Automatic Differentiation
复制标题

MATLAB 自动微分的源转换

DOI:
--
复制
发表时间:
2006
期刊:
International Conference on Conceptual Structures
影响因子:
--
通讯作者:
S. Forth
S. Forth
中科院分区:
--
文献类型:
--
作者:
R. V. Kharche;S. Forth

文献摘要

被引文献

相似文献

我们提出了 MSAD,这是 MATLAB 的正向模式自动微分的源转换实现。 MSAD 专门化并内联了 MAD 包的 fmad 和 derivvec 类的操作。 MAD 固有的运算符重载开销被消除,同时保留 derivvec 类的优化导数组合运算。与 MAD 相比,多个测试用例的结果表明,所有问题规模的效率都有显着提高。
We present MSAD, a source transformation implementation of forward mode automatic differentiation for MATLAB. MSAD specialises and inlines operations from the fmad and derivvec classes of the MAD package. The operator overloading overheads inherent in MAD are eliminated while preserving the derivvec class’s optimised derivative combination operations. Compared to MAD, results from several test cases demonstrate significant improvement in efficiency across all problem sizes.