文件名称:shiyan1
介绍说明--下载内容均来自于网络,请自行研究使用
一元稀疏多项式的表示及运算。根据多项式的结构特点,利用线性链表来实现多项式相加,结点中存放各项的系数和指数,构造相应的多项式。将链表初始化为空,将多项式中的每一项顺序插入链表中,并将链表中多项式按升幂排列。进行多项式加法是,先将其中一多项式a存入链表c中,然后将多项式b的每一项一次插入链表c中,最后得到结果多项式c。-Unary representation of sparse polynomials and operations. According to the structural characteristics of polynomial, linear linked list to achieve the polynomial are added storage nodes of the coefficient and index, constructed the corresponding polynomial. The list is initialized to empty, the polynomial order of each item into the list, and according to the list in ascending order polynomial. Polynomial addition, the first one into the list c of a polynomial, then the polynomial b, c each time you insert a list, the final results obtained polynomial c.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
16008306.cpp