Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

creating a class that does matrix operations

$
0
0
Develop a program that performs the following matrix operations using object oriented approach.
 Addition
 Multiplication
 Finding the Inverse
 Finding the Determinant
Define a class with the name “matrix” which has all the required attributes and implement the above
functionality for n by n matrix.
Instantiate matrix object in the main function and give the user opportunity to enter matrix elements and select
desired matrix operation from a menu list.
Class declarations shall be stored in their own header files (.h) and member function
definitions shall be stored in their own .cpp files other than the file containing the main
function

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>