Perform addition of two sparse matrix Sparse matrix is a matrix populated primarily with zeros.If a sparse matrix is represented by using normal method i.e. by using two dimensional array say m[r][c] then too many memory locations will be used only for storing the zero values.In order to avoid this,only non-zero values are stored in two dimensional array say s[m][3],where m is = total non-zero values + 1.
Read full article from Addition Of Sparse Matrix
No comments:
Post a Comment