The matrix class is essentially a wrapper around the array class that keeps track of its dimensions and implements matrix operations.
This change add a constructor, get and set element functions, and operators for assignment, matrix addition and subtraction, scalar multiplication, and matrix multiplication. For now these algorithms are not optimized, but they're meant to be a simple starting point.
The matrix class is essentially a wrapper around the array class that keeps track of its dimensions and implements matrix operations.
This change add a constructor, get and set element functions, and operators for assignment, matrix addition and subtraction, scalar multiplication, and matrix multiplication. For now these algorithms are not optimized, but they're meant to be a simple starting point.