搜索资源列表
duoxiangshixiangjia
- windows编程工具Visual C++编写,数据结构作业,两个一元多项式相加源程序,多项式的系数coef是float型; 多项式的指数expn是int 型 ;-Visual C preparation, data structure operations, 2 1 yuan polynomial combined source, the polynomial coefficients is Coef float; Polynomial index expn is int type;
duoxiangshi
- Status InitPolyn(polyn P) {/*建立一个空的一元多项式的链表*/ P=(polyn)malloc(sizeof(LNode)) if(P==NULL) exit (OVERFLOW) P->data.coef=0 P->data.expn=-1 P->next=NULL return OK }/*InitPolyn*/-Status InitPolyn (Polynesia P) (/ * est
Datastructsaa
- #include <stdio.h> #include <stdlib.h> #define OK 1 #define OVERFLOW -2 typedef int status typedef struct LinkList{ //用带表头结点的有序链表表示多项式 float coef //系数 int expn //指数 struct LinkList *next //指向后继的指针
polynomial-
- 一元多项式相加减 #include<stdio.h> #include<malloc.h> typedef struct polynode /*用单链表存储多项式的结点结构*/ { int coef int exp struct polynode *next }node-Unary polynomial-phase addition and subtraction# include <stdio.h># incl
Navier_Stokes
- 一篇关于粘性流体系数的论文,希望对大家具有参考价值-a paper about Navier_Stokes coef ,maybe it is useing
coef
- float to hex, convert float (-1.0~1.0) t0 1.31 format
Cookbook-formulae-for-audio-EQ-biquad-filter-coef
- Cookbook formulae for audio EQ biquad filter coefficients - Bristow-Johnson
AddPolynomial
- 两个多项式相加,单链表数据结构,每个节点保存系数和指数。-add two polynomials, using links, storing coef and exp.
Poly
- 1、可通过 Poly P 声明一个多项式 P; 2、可通过 P.read(string P_str) 直接从 手写习惯的多项式字符串 读入多项式; 3、可通过 P.newTerm(double Coef, int Exp) 增添多项式的项,如果含有同类项,则合并; 4、可直接通过 P Q 给多项式 P 赋值; 5、可直接通过 cout << P 以手写习惯输出多项式; 6、可通过 P.clear() 清除一个多项式; 7、可直接通过 +、-、*、/、 进行多项
