arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1802.02247cs.MS
收藏

ODE积分的自动微分

Automatic differentiation of ODE integration

Johannes Willkomm

摘要:

讨论了用自动微分工具ADiMat计算常微分方程组的导数。以著名的Lotka-Volterra方程和ode 23 ODE求解器为例,我们展示了解析导数,并详细介绍了如何使用ADiMat对调用ode 23的顶级函数进行微分。这涉及到手动构造替代函数,以正向和反向模式传播导数。我们还展示了如何使用反向模式代码来评估Hessian在forward-over-reverse模式。

英文摘要:

We discuss the calculation of the derivatives of ODE systems with the automatic differentiation tool ADiMat. Using the well-known Lotka-Volterra equations and the ode23 ODE solver as examples we show the analytic derivatives and detail how to differentiate a top-level function that calls ode23 somewhere with ADiMat. This involves the manual construction of substitution function to propagate the derivatives in forward and reverse mode. We also show how to use the reverse mode code to evaluate the Hessian in forward-over-reverse mode.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑