Skip to main content
Back to USENIX
  • Conferences
  • Students
Sign in

USENIX Conference Policies

  • Event Code of Conduct
  • Conference Network Policy
  • Statement on Environmental Responsibility Policy

Compile Time Symbolic Derivation with C++ Templates

Joseph Gil, IBM T.J. Watson Research Center; Zvi Gutterman, Technion Israel Institute of Technology

C++ templates are already recognized as a powerful linguistic mechanism, whose usefulness transcends the realization of traditional generic containers. In the same venue, this paper reports on a somewhat surprising application of templates for computing the symbolic derivative of expression. Specifically, we describe a software package based on templates, called SEMT, which allows the programmer to create symbolic expressions, substitute variables in them, and compute their derivatives. SEMT is unique in that these manipulations are all done at compile time. In other words, SEMT effectively coerces the compiler to do symbolic computation as part of the compilation process. Beyond the theoretical interest, SEMT can be practically applied in the efficient, generic and easy to use implementation of many numerical algorithms.

Joseph Gil, IBM T.J. Watson Research Center

Zvi Gutterman, Technion Israel Institute of Technology

BibTeX
@inproceedings {261384,
author = {Joseph Gil and Zvi Gutterman},
title = {Compile Time Symbolic Derivation with C++ Templates},
booktitle = {4th Conference on Object-Oriented Technologies and Systems (COOTS 98)},
year = {1998},
address = {Santa Fe, NM},
url = {https://www.usenix.org/conference/coots-98/compile-time-symbolic-derivation-c-templates},
publisher = {USENIX Association},
month = apr
}
Download

Links

Paper: 
http://usenix.org/publications/library/proceedings/coots98/full_papers/gil/gil.pdf
Paper (HTML): 
http://usenix.org/publications/library/proceedings/coots98/full_papers/gil/gil_html/gil.html
  • Log in or register to post comments

© USENIX
EIN 13-3055038

  • Privacy Policy
  • Contact Us