使用双向链表实现稀疏矩阵中的多项式

时间:2013-03-27 08:48:13

标签: c++ c data-structures sparse-matrix

给定2次多项式,如何使用双向链表在稀疏矩阵中实现它?

1 个答案:

答案 0 :(得分:0)

typedef struct node{
   int term;
   int coefficient;
   struct node* next;
   struct node* previous;
}Node;

Node matrix[3];
相关问题