Chapter 15. The Matrix Library

Table of Contents
Matrix Operations

This library implements some basic matrix operations. These functions are not guarenteed to be stable or numerically sound, nor are they very optimized, but for smaller applications they should be suitable.

The <matrix> class is a subclass of <array>, so all operations on <array>s and collections in general should work as expected. One important limitation of matrices is that they are limited to two dimensions, and trying to use any other size results in an error. The <matrix> class has two ways to get instances and several operations for those instances.