18.6 Case Study: Matrices
Extend the matrix from 17.11:
- Represent arbitrary m x n matrix
- Need to allocate from heap
- The "big three" done per Section 18.4
- Access methods replace constants for row/column information
- Smaller member functions have been inlined
- (Changes have been
highlighted)
prev
|top
|next