0
How to perform two sparse matrix addition without conversion into normal matrix.
sparse matrix is a matrix which have the no of non - zero element is less than zero element.
1 Answer
0
you are right I am concerned about space.i don't want to store again into normal matrix.
we simply add into sparse matrix format.
matrix format
0 0 1 6
0 0 7 0
0 0 0 0
1 0 0 2
sparse format
row. col. ele
0. 2. 1
0. 3. 6
1. 2. 7
3. 0. 1
3. 3. 2
I want to add into sparse format not want to convert into matrix then add