Chapter 16: Efficient linear algebra through expression templates
Abstract
In section 3.2 you saw the basics of operator overloading. In the context of a linear algebra library you may be tempted now to define routines such asVector Vector::operator+( const Vector& other ) const;// use as:Vec v1,v2;auto v3 = v1+v2;
Fields of Study & Subjects
Matrix Theory and Algorithms
Parallel Computing and Optimization Techniques
Numerical Methods and Algorithms
Publication details
- Journal / source
- Society for Industrial and Applied Mathematics eBooks
- Pages
- 161–164
- Publication date
- 19 January 2026
- Language
- EN
- Document type
- Book chapter