pith. sign in

arxiv: 1110.3233 · v1 · pith:6W4R6XVXnew · submitted 2011-10-14 · ⚛️ physics.comp-ph · cs.MS

Metaprogramming Applied to Numerical Problems

classification ⚛️ physics.comp-ph cs.MS
keywords metaprogrammingtemplategenericallowsappliedapplybettercalled
0
0 comments X
read the original abstract

From the discovery that the template system of C++ forms a Turing complete language in 1994, a programming technique called Template Metaprogramming has emerged that allows for the creation of faster, more generic and better code. Here, we apply Template Metaprogramming to implement a generic Runge-Kutta scheme that can be used to numerically solve ordinary differential equations. We show that using Template Metaprogramming results in a significantly improved performance compared to a classical implementation.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.