コード例 #1
0
 public Monomial(double value)
 {
     Variables = new ElementsMul {
         Elements = new List <Element>()
         {
             new Element()
             {
                 Variable = 0, Pow = 0
             }
         }
     };
     Coef = value;
 }
コード例 #2
0
 public Monomial(int id, double value)
 {
     Variables = new ElementsMul {
         Elements = new List <Element>()
         {
             new Element()
             {
                 Variable = id, Pow = 1
             }
         }
     };
     Coef = value;
 }