Display the matrix
| 170 | |
| 171 | // Display the matrix |
| 172 | void print() const { |
| 173 | for (int i=0; i<3; i++) { |
| 174 | for (int j=0; j<3; j++) { |
| 175 | std::cout << m[i][j] << " "; |
| 176 | } |
| 177 | std::cout << std::endl; |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | // Overloaded operator = |
| 182 | Matrix3& operator=(const Matrix3& matrix) { |
nothing calls this directly
no outgoing calls
no test coverage detected