Home > Back-end >  In the data structure on a curb on sparse matrix table using the appropriate problem?
In the data structure on a curb on sparse matrix table using the appropriate problem?

Time:09-25

One meter reading, today at the time of data structure course,

The teacher to the productive capacity of sparse matrix using the common body in the table to store the value of the zero element and a pointer to the next,

This part I is not very good, because when I was in CSDN preview before see curb table rows, columns, value and the right, under the five variables, two Pointers that part is not very good, I don't understand the meaning of the appropriate use

Are there, right under the pointer, why am I still need to use the next point to the next header?

Is there a big help me understand
 
The class linknode
{
Public:
Int I, j;//rows, columns,
CPTR linknode * and * RPTR;//column, row pointer
The union vnext//define a common body
{int v.//table node using v domain, said non-zero value $
Linknode * next;//header node using the next domain point to the next header
} k;
.//a member function definition and
};
  • Related