首页 /研究 /Functional automatic differentiation with dirac impulses
PERCEPTION

Functional automatic differentiation with dirac impulses

Henrik Nilsson

发表年份
2003
引用次数
16

摘要

Functional Reactive Programming (FRP) is a framework for reactive programming in a functional setting. FRP has been applied to a number of domains, such as graphical animation, graphical user interfaces, robotics, and computer vision. Recently, we have been interested in applying FRP-like principles to hybrid modeling and simulation of physical systems. As a step in that direction, we have extended an existing FRP implementation, Yampa, in two new ways that make it possible to express certain models in a very natural way, and reduces the amount of work needed to put modeling equations into a suitable form for simulation. First, we have added Dirac impulses that allow certain types of discontinuities to be handled in an easy yet rigorous manner. Second, we have adapted automatic differentiation to the setting of Yampa, and generalized it to work correctly with Dirac impulses. This allows derivatives of piecewise continuous signals to be well-defined at all points. This paper reviews the basic ideas behind automatic differentiation, in particular Jerzy Karczmarczuk's elegant version for a lazy functional language with overloading, and then considers the integration with Yampa and the addition of Dirac impulses.

关键词

Computer scienceAutomatic differentiationPiecewiseFunctional reactive programmingAnimationTheoretical computer scienceDirac (video compression format)Functional programmingReactive programmingArtificial intelligence

相关论文

查看 PERCEPTION 分类全部论文