sparseMatrix is a matrix that has many 0 in it.<br>eg.<br>sparseM r c v r-rows<br>1 3 0 -> 1 1 1 c-cols<br>0 0 0 -> 1 2 3 v-value<br>0 0 1 -> 1 3 1<br><br>convert the sparse matrix in to the rows , cols and with the values.<br>using C++ template.<br>i have alreadydo the print,trace, and element funct but it return some run-time errors. anyone can check for my source? pls include ur email so i can send it to you.