0. 表示
- x4−3x+1 ⇒ {(1,4),(−3,1),(1,0)}
- (coefficient, exponent) 对;
1. 加法和乘法运算
p=p0+p1X+p2X2+⋯+pm−1Xm−1+pmXmq=q0+q1X+q2X2+⋯+qn−1Xn−1+qnXn
- 加法:p+q=r0+r1X+r2X2+⋯+rkXk,
- 乘法:pq=s0+s1X+s2X2+⋯+slXl
- si=p0qi+p1qi−1+…+piq0=∑kpkqi−k,如 weixin_42849849 所言,此为 {pi},{qi} 两序列的卷积和;