Algorithm 940: Optimal Accumulator-Based Expression Evaluation through the Use of Expression Templates

ACM Trans. Math. Softw.(2014)

引用 0|浏览13
暂无评分
摘要
In this article we present a compile-time algorithm, implemented using C++ template metaprogramming techniques, that minimizes the use of temporary storage when evaluating expressions. We present the basic building blocks of our algorithm---transformations that act locally on nodes of the expression parse tree---and demonstrate that the application of these local transformations generates a (nonunique) expression that requires a minimum number of temporary storage objects to evaluate. We discuss a C++ implementation of our algorithm using expression templates, and give results demonstrating the effectiveness of our approach.
更多
查看译文
关键词
temporary storage,basic building block,compile-time algorithm,expression template,expression templates,minimum number,temporary storage object,expression parse tree,template metaprogramming technique,local transformation,optimal accumulator-based expression evaluation,c,template metaprogramming
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要