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.
\Bibitem{Kra19}
\by M.~M.~Krasnov
\paper The use of functional programming in solving numerical problems
\jour Keldysh Institute preprints
\yr 2019
\papernumber 114
\totalpages 36
\mathnet{http://mi.mathnet.ru/ipmp2752}
\crossref{https://doi.org/10.20948/prepr-2019-114}
\elib{https://elibrary.ru/item.asp?id=41374735}
Linking options:
https://www.mathnet.ru/eng/ipmp2752
https://www.mathnet.ru/eng/ipmp/y2019/p114
This publication is cited in the following 3 articles:
M. M. Krasnov, “Primenenie monadnykh vychislenii pri reshenii chislennykh zadach”, Preprinty IPM im. M. V. Keldysha, 2024, 002, 24 pp.
M. M. Krasnov, O. B. Feodoritova, “The use of functional programming library to parallelize on graphics accelerators with CUDA technology”, Programmirovanie, 2024, no. 1
M. M. Krasnov, O. B. Feodoritova, “Primenenie biblioteki funktsionalnogo programmirovaniya dlya rasparallelivaniya vychislenii na graficheskikh uskoritelyakh s tekhnologiei CUDA”, Preprinty IPM im. M. V. Keldysha, 2022, 051, 36 pp.