|
This article is cited in 3 scientific papers (total in 3 papers)
The use of functional programming in solving numerical problems
M. M. Krasnov
Abstract:
The basics of functional programming are presented using the Haskell and C++ languages as an example. Explains how functional programming can be applied in solving numerical problems to simplify the writing of algorithms and even to speed up the work of programs. The possibilities of the new C++ language standards (C++11 and higher) are described, regarding both functional programming and parallelization on multi-core processors. It is shown how functional programming can be applied to the grid-operator approach to programming developed by the author to further simplify the recording of mathematical formulas in program sources.
Keywords:
functional programming, Haskell, C++, currying, monads.
Citation:
M. M. Krasnov, “The use of functional programming in solving numerical problems”, Keldysh Institute preprints, 2019, 114, 36 pp.
Linking options:
https://www.mathnet.ru/eng/ipmp2752 https://www.mathnet.ru/eng/ipmp/y2019/p114
|
|