KIAM Main page Web Library  •  Publication Searh   
Publication

Monograph, Moscow, 2017
Publisher:
. ..
Authors: Krasnov M.M.
C++ template metaprogramming in mathematical physics problems
Abstract:
The application of C++ template metaprogramming for the simplification of writing down of algorithms and moving a part of calculations (first of all integral constants) to the compile stage is considered. Theoretically, this allows speeding up the execution of programs and can be highly actual for numerical solving of mathematical physics problems. Template metaprogramming allows automate some complicated calculations, such as brackets opening in compound expressions and calculus of symbolic derivatives of formulas. This helps get rid of hard to catch errors, appearing when such calculations are done manually because of the inattention.
Keywords:
C++ language, template metaprogramming, CUDA, numerical methods, mathematical modeling, symbolic differentiation
Publication language: russian,  pages: 84
Research direction:
Programming, parallel computing, multimedia
Russian source text:
Export link to publication in format:   RIS    BibTeX
About authors:
  • Krasnov Mikhail Mikhailovich,  orcid.org/0000-0001-7988-6323KIAM RAS