RUS  ENG
Full version
JOURNALS // Preprints of the Keldysh Institute of Applied Mathematics // Archive

Keldysh Institute preprints, 2019 114, 36 pp. (Mi ipmp2752)

This article is cited 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.

DOI: 10.20948/prepr-2019-114



Bibliographic databases:


© Steklov Math. Inst. of RAS, 2024