Functional Coding of Differential Forms
暂无分享,去创建一个
Algebraic computations in differential geometry have usually a strong “analytic” side, and symbolic formula crunching is heavily used, even if at the end, the user needs only numbers, or graphic visualization. We show how to implement in a simple way the domain of differential forms with the p-vector algebra, Hodge “star” operator, and the differentiation. There is no explicit symbolic manipulation involved, we exploit only the “standard” mathematical operations in a generic way. Everything forms a local algebra coded in Haskell, and the differentiation algorithms heavily use the lazy evaluation. Some short examples are presented. This paper generalizes our one-dimensional algorithmic differentiation formalism in functional sauce presented elsewhere.
[1] C. Westenholz. Differential forms in mathematical physics , 1978 .
[2] Richard L. Wexelblat,et al. Proceedings of the first ACM SIGPLAN international conference on Functional programming , 1996, ICFP 1996.
[3] H. Flanders. Differential Forms with Applications to the Physical Sciences , 1964 .
[4] Jerzy Karczmarczuk,et al. Geometric Modelling in Functional Style , 1999 .
[5] Jerzy Karczmarczuk,et al. Functional Differentiation of Computer Programs , 1998, ICFP '98.