FDS-Lab Assignment 2-Writeup
FDS-Lab Assignment 2-Writeup
Experiment Number: 02
TITLE: Sparse Matrix Operations
PROBLEM STATEMENT:
Write a C program for sparse matrix realization and operations on it- Simple Transpose, Fast
Transpose.
OBJECTIVE:
IMPLEMENTATION:
● PLATFORM:
o 64-bit Open source Linux or its derivatives.
o Open Source C Programming tool like gcc/Eclipse Editor.
M1 =
4 5 6
0 3 5
1 3 8
1 4 45
2 3 4
3 2 45
4 1 2
M2 =
4 5 6
0 3 7
0 4 6
1 4 4
2 1 8
3 2 45
4 4 21
● PRACTICE ASSIGNMENTS
i. Write a program to perform sparse matrix operations – addition and
multiplications.