Matrix Manipulation

In this project you will work with matrices of arbitrary order. You have to 
implement a Matrix data structure, which stores the order of the matrix and its 
elements. Your program should be able to read a matrix from a text file, the 
format of which is provided below:

R C
A11 A12    . . .    A1C
A21 A22     . . .     A2C
.   .    . . .     . 
.   .    . . .     . 
AR1 AR2    . . .     ARC

where R and C are integers specifying the order of the matrix, and the elements 
of the matrix are floating-point numbers.

Furthermore, you need to implement the following matrix operations:
Addition
Subtraction
Multiplication (using Strassen’s algorithm)
Transpose
Inverse

For addition, subtraction, and multiplication, your program should read two 
matrices and check their dimensions before proceeding with the algorithm. For 
inverse, your program should make sure the matrix is nonsingular before 
proceeding. After each operation, your program should print the input and 
output matrices on the screen.

This program should be menu-driven.


       
---------------------------------
Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.

[Non-text portions of this message have been removed]

Reply via email to