Abstract <p>This paper continues our research on the application of functional programming to numerical methods. In particular, functional programming can help port programs to graphics accelerators that support CUDA. Our previous work was focused on functors (and applicative functors). The theoretical foundation of monadic calculations was outlined, so this paper focuses on their practical application. One of the basic principles of functional programming is function composition, which allows complex functions to be built from simple ones, thus facilitating the development of complex programs. Monads allow one to construct chains of complex computations. In a sense, these chains are also compositions of functions, but at a higher, monadic level (monadic composition).</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Application of Monadic Calculations in Solving Numerical Problems

  • M. M. Krasnov

摘要

Abstract

This paper continues our research on the application of functional programming to numerical methods. In particular, functional programming can help port programs to graphics accelerators that support CUDA. Our previous work was focused on functors (and applicative functors). The theoretical foundation of monadic calculations was outlined, so this paper focuses on their practical application. One of the basic principles of functional programming is function composition, which allows complex functions to be built from simple ones, thus facilitating the development of complex programs. Monads allow one to construct chains of complex computations. In a sense, these chains are also compositions of functions, but at a higher, monadic level (monadic composition).