I have a data file storing a large matlab sparse matrix (matlab 7.3) that needs to be used in my python program. I use h5py to load this sparse matrix and find there are 3 data structures associated with the sparse matrix.
Suppose the name of the sparse matrix is M and the 3 data structures are M['data'], M['ir'], M['jc']. Initially I thought M['ir'] and M['jc'] store the row indices and column indices for nonzero items, but I have just found that there exist some values in M['jc'] larger than the row number of the sparse matrix. Can anyone explain what kinds of information are stored in the 3 data structure?