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

Keldysh Institute preprints, 2017 004, 24 pp. (Mi ipmp2220)

This article is cited in 5 papers

Application of symbolic differentiation for solving of some computational problems

M. M. Krasnov


Abstract: On the example of the Newton’s method of solving of non-linear equations and other similar problems the usage of the symbolic differentiation in the C++ programming language is demonstrated. The proposed approach is based on the metaprogramming of the C++ language, in particular, on expression templates. The problem of solving of a single equation with one variable, of a system of equations with multiple variables, the problem of finding of a minimum of an equation with multiple variables and other similar problems are considered.

Keywords: symbolic differentiation, metaprogramming, Newton's method.

DOI: 10.20948/prepr-2017-4



© Steklov Math. Inst. of RAS, 2024