【发布时间】:2013-03-27 08:48:13
【问题描述】:
给定一个2次多项式,如何使用双向链表在稀疏矩阵中实现它?
【问题讨论】:
-
欢迎来到Stack Overflow!你试过什么?您希望使用什么语言?你的应用是什么?我们需要更多信息才能提供帮助。
标签: c++ c data-structures sparse-matrix
给定一个2次多项式,如何使用双向链表在稀疏矩阵中实现它?
【问题讨论】:
标签: c++ c data-structures sparse-matrix
typedef struct node{
int term;
int coefficient;
struct node* next;
struct node* previous;
}Node;
Node matrix[3];
【讨论】: