I mean I want to ask user to add elements after choosing the size of the matrix next use sum function to calculate the sum of the two matrix and at last print out the result of the sum in sparse matrix.
How can I sum two sparse matrix in C++?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Munesh SharmaRank #174 · 13.9K reputationPosted Oct 7, 2014, 2:39 AM EDT
Joe WilsonRank #631 · 3.8K reputationPosted Oct 7, 2014, 9:37 AM EDT