Description: 编程练习题,多项式的计算,内包含C++代码,使用了类、数组。-Using dynamic arrays, implement a Polynomial class with polynomial addition,
subtraction, and multiplication.
Hint: A variable in a polynomial does nothing but act as a placeholder for the
coefficients. Hence, the only interesting thing about polynomials is the array of
coefficients and the corresponding exponent. Think about the polynomial
x^3- x+ 1 Platform: |
Size: 2048 |
Author:沈晴雯 |
Hits:
Description: 设计一个多项式类,支持多项式的显示、加减运算、相乘运算,并且必须
使用链式结构来实现该多项式类,包括多项式的存储、显示与运算等等。-Design a polynomial class to support the display of the polynomial, addition and subtraction, multiplication, and must use the chain structure to achieve the polynomial class, including polynomial storage, display and computing, and so on. Platform: |
Size: 746496 |
Author:theseaflows |
Hits:
Description: 用来实现多项式乘法的C语言程序,用到高精度,含可运行工程-C language program for polynomial multiplication , used high precision, with runnable project. Platform: |
Size: 955392 |
Author:左左 |
Hits:
Description: 主要用C++实现了数据结构中的多项式,可以进行加减乘除计算-Mainly implemented in C++ polynomial data structure can be addition, subtraction, multiplication and division calculation Platform: |
Size: 2048 |
Author:箫筱沐羽 |
Hits:
Description: 用C语言编写的一元稀疏多项式计算,包括加减乘三种计算类型-Written in C language, one yuan sparse polynomial, including addition and subtraction multiplication three types of calculations Platform: |
Size: 185344 |
Author:TsaiCai |
Hits:
Description: 利用数据结构中的链表,交一无多项式和乘法表达出来!-Use of a linked list data structure, cross a no polynomial multiplication express! Platform: |
Size: 3072 |
Author:熊猫 |
Hits:
Description: Program to implement Lagrange s interpolation formula along with codes for implementation of some basic steps of the algorithm such as polynomial multiplication. Platform: |
Size: 194560 |
Author:GEORGE |
Hits:
Description: 这个程序利用从文件读取数据(每组系数和指数以实数对形式括在一起输入,以逗号隔开,以#结束输入),建立多项式链表,进行多项式计算(加减乘以及微分),最后将多项式输出至文件中保存。-Use this procedure to read data from a file (each coefficient and index to the real number of the form, including input together, separated by a comma, followed by# input), the establishment of a polynomial linked list polynomial (subtraction, multiplication and differentiation), and finally the polynomial output to a file saved. Platform: |
Size: 305152 |
Author:任强 |
Hits:
Description: C语言源码,本程序可处理多种多项式运算,包括加减乘除、求导、积分等,数据结构实验课作业,本人花费不少心血写就,功能十分强大。-C language source code, the program can handle a variety of polynomial operations, including addition, subtraction, multiplication and division, derivation, integration, the experiment data structure operations, I spent a lot of effort to write, is very powerful. Platform: |
Size: 9216 |
Author:周磊 |
Hits:
Description: Develop class Polynomial. The internal representation of a Polynomial is an array of terms. Each term contains a coefficient and an exponent. The term
2x4
has the coefficient 2 and the exponent 4. Develop a complete class containing proper constructor and destructor functions as well as set and get functions. The class should also provide the following overloaded operator capabilities:
Overload the addition operator (+) to add two Polynomials.
Overload the subtraction operator (-) to subtract two Polynomials.
Overload the assignment operator to assign one Polynomial to another.
Overload the multiplication operator (*) to multiply two Polynomials.
Overload the addition assignment operator (+=), subtraction assignment operator (-=), and multiplication assignment operator (*=). Platform: |
Size: 4668416 |
Author:howard |
Hits:
Description: 数据结构中用链表实现的多项式相乘,用于计算多项式乘法-Using linked list data structure to achieve polynomial multiplication, used to calculate the polynomial multiplication Platform: |
Size: 1024 |
Author:马明 |
Hits:
Description: 二叉树交换左右子树和一元多项式相乘 以及一些实验运行截图-Binary swap left and right subtrees, one yuan polynomial multiplication Platform: |
Size: 117760 |
Author:chen |
Hits:
Description: 计算两个以单链接表表示的多项式相乘的程序。
两个多项式相乘, 如p1(m项),p2(n项),只需将后一多项式的各项与前一多项相乘,得到n个新的多项式,新的多项式产生后立即累加到一个备用的多项式即可。-Calculating two single linked list representation of polynomial multiplication process. Multiplying two polynomials, such as p1 (m items), p2 (n items), just after a polynomial multiplying the number of the previous one, get a new polynomial of n, the new polynomial generator accumulate immediately after a polynomial can alternate. Platform: |
Size: 297984 |
Author:yvette |
Hits:
Description: 用stl实现多项式字符串相乘,用list实现,已测试。-Stl string using polynomial multiplication, with the list implementation, have been tested. Platform: |
Size: 486400 |
Author:HEJIE |
Hits:
Description: 数据结构的一道经典题目,是很好的源代码。一元多项式相乘,用数组实现-Data structure a classic topic, is a good source code. One yuan polynomial multiplication using arrays to achieve Platform: |
Size: 1024 |
Author:leoo |
Hits: