quarter operatin example

This commit is contained in:
Jidong Xiao
2023-09-22 00:06:07 -04:00
parent 987e119d4a
commit a14efef646

View File

@@ -163,6 +163,8 @@ takes no arguments and returns a Matrix* containing four new Matrix elements in
local variables go out of scope and are destroyed, so you will need to be particularly careful about how you local variables go out of scope and are destroyed, so you will need to be particularly careful about how you
construct and return the quadrants. On the next page are two examples of the quarter operation: construct and return the quadrants. On the next page are two examples of the quarter operation:
![alt text](images/matrix_quarter.png "matrix quarter operation")
## Testing and Debugging ## Testing and Debugging
We provide a matrix main.cpp file with a wide variety of tests of the Matrix class. Some of these tests We provide a matrix main.cpp file with a wide variety of tests of the Matrix class. Some of these tests