【问题标题】:implementation of polynomial in sparse matrix using a doubly linked list使用双向链表实现稀疏矩阵中的多项式
【发布时间】:2013-03-27 08:48:13
【问题描述】:

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

【问题讨论】:

  • 欢迎来到Stack Overflow!你试过什么?您希望使用什么语言?你的应用是什么?我们需要更多信息才能提供帮助。

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


【解决方案1】:
typedef struct node{
   int term;
   int coefficient;
   struct node* next;
   struct node* previous;
}Node;

Node matrix[3];

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-09-04
    • 2017-02-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-03-26
    相关资源
    最近更新 更多