The C++ Programming Language, Third Edition
The C++ Programming Language, Third Edition
FastMat: A C++ library for multi-index array computations
Advances in Engineering Software
Hi-index | 0.00 |
Template methods have opened up a new way of building C++ libraries. These methods allow the libraries to combine the seemingly contradictory qualities of ease of use and uncompromising efficiency. However, libraries that use these methods are notoriously difficult to develop. This article examines the benefits reaped and the difficulties encountered in using these methods to create a friendly, high performance, tensor library. We find that template methods mostly deliver on this promise, though requiring moderate compromises in usability and efficiency.