Create a class MAT of size m x n. Define the following matrix operations for MAT type objects
a. Addition b. Subtraction c. Multiplication.
Create a class MAT of size m x n. Define the following matrix operations for MAT type objects
a. Addition b. Subtraction c. Multiplication.
You can simply implement the matrix as a class with array of arrays for the values. Addition and Substraction as well as Multiplication will be easily implemented according to the definition.