コード例 #1
0
 public Polynomial()
 {
     // zero polynomial
     Head = null;
 }
コード例 #2
0
 public Polynomial(int coefficient, int power)
 {
     Head = new Term(coefficient, power, null);
 }
コード例 #3
0
 public Term(int coefficient, int power, Term next)
 {
     Coefficient = coefficient;
     Power       = power;
     Next        = next;
 }