Research indexBook chapter
Generic Programming
Spector
Cambridge University Press eBooks5 Dec 2011
NobleIDark:/48914/w1/20260525/D1A24E5DDOI10.1017/cbo9781139027687.011
Generic Programming
Spector · Cambridge University Press eBooks · 2011 · Subscription
NobleIDark:/48914/w1/20260525/D1A24E5DDOI10.1017/cbo9781139027687.011
The full text is at the publisher
You can read the abstract here, or open it at the publisher.
Abstract
A common requirement when writing code is the ability to use the identical, or nearly identical, code for different data types. In the case of the public domain LAPACK linear algebra library (see Reference [5]), for instance, procedures support much the same set of operations for each of real, double precision, and complex data types. For example, the real version of a matrix operation routine might be identical to the complex version, except for a few details, primarily: