Description: CRC校验采用多项式编码方法。多项式乘除法运算过程与普通代数多项式的乘除法相同。多项式的加减法运算以2为模,加减时不进,错位,如同逻辑异或运算。-CRC polynomial used coding method. Polynomial multiply and divide computing process and the general polynomial algebra multiply and divide the same. Polynomial and subtract operations for the two to die, not into the Modified, dislocation, as logical XOR. Platform: |
Size: 4967260 |
Author:陈少良 |
Hits:
Description: CRC校验采用多项式编码方法。多项式乘除法运算过程与普通代数多项式的乘除法相同。多项式的加减法运算以2为模,加减时不进,错位,如同逻辑异或运算。-CRC polynomial used coding method. Polynomial multiply and divide computing process and the general polynomial algebra multiply and divide the same. Polynomial and subtract operations for the two to die, not into the Modified, dislocation, as logical XOR. Platform: |
Size: 4967424 |
Author: |
Hits:
Description: 此代码可以实现多项式相加相乘运算,输入每一项的系数和次数即可-This code can be combined to achieve polynomial multiplication operator, enter each number of factors and can Platform: |
Size: 1024 |
Author:liyuan |
Hits:
Description: 用于多项式算法的乘法和除法,在数字信号处理中有很好的实用价值。-The program used for digital signal processing polynomial multiply and divide,it s the good references. Platform: |
Size: 1024 |
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, e.g., 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:
a) Overload the addition operator (+) to add two Polynomials.
b) Overload the subtraction operator (-) to subtract two Polynomials.
c) Overload the assignment operator to assign one Polynomial to another.
d) Overload the multiplication operator (*) to multiply two Polynomials.
e) Overload the addition assignment operator (+=), subtraction assignment operator (-=), and multiplication assignment operator (*=).
Platform: |
Size: 2048 |
Author:wang |
Hits:
Description: 本源代码实现对输入多项式任意次幂的加减乘除,使用delphi语言编写。注释详尽,便于初学者对链表的结构有详尽的认识。-This source code to achieve input polynomial any time power of add, subtract, multiply and divide, using Delphi language preparation. Detailed notes, facilitate beginners to chain table structure a full understanding.
Platform: |
Size: 184320 |
Author:纪参 |
Hits:
Description: 使用C++编写的两个多项式相乘的源代码,可以得到多项式相乘的结果多项式-Using C++ prepared multiplies the two polynomials of the source code can be obtained polynomial result of multiplying the polynomial Platform: |
Size: 105472 |
Author:张江 |
Hits:
Description: 在C++下,实现多项式的加减乘除算法。其中用到数据结构的理论。主要是线性表的应用-In C++, to achieve add, subtract, multiply and divide algorithm of polynomial. The theory used in data structure. The main applications of linear table Platform: |
Size: 163840 |
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: 一个d阶多项式有如下形式:
cdxd+cd− 1xd− 1+cd− 2xd− 2…+c0
其中,cd≠0,指数都是非负数。每一个cixi是多项式中的一项。
设计一个C++的模板类 Polynomial<T>,T给出系数的类型,要求能够实现多项式的表示和运算。Polynomial类应该包括私有变量degree,和其他需要的变量。对多项式的表示要求用线性表的形式,例如(c0,c1,c2,…,cd)表示系数表。并设计以下成员函数和操作:
(a) Polynomial(),创建零阶多项式,即构造函数
(b) Degree(),返回多项式的阶数degree
(c) Input(),输入多项式,指数升序依次输入每一项的指数和系数。例如输入: 0 c0 1 c1 2 c2…d cd。重载>>完成输入。
(d) Output(),输出多项式,和输入的格式相同。重载<<完成输出。
(e) Add(b),和b多项式相加,并返回结果多项式。重载+。
(f) Subtract(b),和b多项式相减返回结果多项式。重载-。
(g) Multiply(b),和b多项式相乘返回结果多项式。重载*。
(h) Value(x),返回x代入多项式的值。重载( ),例如对于多项式对象P, P(x)能够返回代入x的多项式值。
-A d-order polynomial has the following form:
cdxd+ cd-1xd-1+ cd-2xd-2 ...+ c0
Which, cd ≠ 0, index are non-negative. In each one of the polynomial cixi.
Design template a C++ class Polynomial <T>, T given coefficient type, the request can be realized and computing polynomial representation. Polynomial class should include the private variable degree, and other variables needed. Requires the polynomial representation of the linear form of tables, such as (c0, c1, c2, ..., cd) represents the coefficient table. And to design and operate the following member functions:
(a) Polynomial (), to create the zero-order polynomial, the constructor
(b) Degree (), return to the order of the polynomial degree
(c) Input (), the input polynomial, exponential in the ascending order of the index and enter each one factor. For example, enter: 0 c0 1 c1 2 c2 ... d cd. Overloaded >> complete the entry.
(d) Output (), output of the polynomial, and input the same format. Overloaded << Platform: |
Size: 478208 |
Author:酉永松 |
Hits:
Description: 多项式的加减乘的简易代码,数据算法初学常见project。(使用stack)-Simple polynomial code, including add and subtract multiply. Ir s a common project data algorithm beginners.(use the stack) Platform: |
Size: 358400 |
Author:丁格 |
Hits: