37、一元多项式的表示和相加

一、基本概念 1、多项式pn(x)可表示成:  pn(x)=a0+a1x+a2x2+…+anxn。 listP={(a0,e0),(a1,e1),(a2,e2),…,(an,en) }。在这种线性表描述中,各个结点包括两个数据域,对应的类型描述为: typedefstruct node {double coef;            //系数为双精度型    int expn;         
相关文章
相关标签/搜索