Defne a basic Matrix class. It should include matrix multiplication in
the form ܊∗܋ ,a method to print a matrix to the screen in the usual form as a vertical
sequence of rows, such as e.g.:
1. 2. 3.
4. 5. 6.
and a test for equality using the infx-operator ‘==’.
Give an example to illustrate that multiplication is associative.
Te solutions to the following exercises can either be formulated as “stand-alone”
programs or, preferably, included as methods in the above matrix class, or in a subclass.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here