Not able to understand output of CSR Representation in CUSP
问题 I am trying to use the CUSP library. I am reading .txt files which are basically sparse COO representation. I am using CUSP to convert into CSR format. When I print the matrix with cusp::print() it prints the correct outcome for COO representation. However when I convert the matrix into CSR, I have written my own function for printing but the outcome is not what I want. Here is the snippet main() { //. //bla bla //.. //create a 2d coo matrix cusp::coo_matrix<int, int, cusp::host_memory> D